Tracker: style fixes to VolumeWindow
This commit is contained in:
parent
e07476a120
commit
69e5768d45
@ -50,13 +50,17 @@ All rights reserved.
|
||||
#include "MountMenu.h"
|
||||
|
||||
|
||||
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "VolumeWindow"
|
||||
|
||||
|
||||
// #pragma mark - BVolumeWindow
|
||||
|
||||
|
||||
BVolumeWindow::BVolumeWindow(LockingList<BWindow>* windowList,
|
||||
uint32 openFlags)
|
||||
: BContainerWindow(windowList, openFlags)
|
||||
uint32 openFlags)
|
||||
:
|
||||
BContainerWindow(windowList, openFlags)
|
||||
{
|
||||
}
|
||||
|
||||
@ -89,7 +93,7 @@ BVolumeWindow::MenusBeginning()
|
||||
}
|
||||
|
||||
BMenuItem* item = fMenuBar->FindItem(kUnmountVolume);
|
||||
if (item)
|
||||
if (item != NULL)
|
||||
item->SetEnabled(ejectableVolumeSelected);
|
||||
}
|
||||
|
||||
|
@ -64,4 +64,5 @@ class BVolumeWindow : public BContainerWindow {
|
||||
|
||||
using namespace BPrivate;
|
||||
|
||||
|
||||
#endif // _VOLUME_WINDOW_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user