Tracker: style fixes to VolumeWindow

This commit is contained in:
John Scipione
2014-06-20 21:30:10 -04:00
parent e07476a120
commit 69e5768d45
2 changed files with 9 additions and 4 deletions
+8 -4
View File
@@ -50,13 +50,17 @@ All rights reserved.
#include "MountMenu.h" #include "MountMenu.h"
#undef B_TRANSLATION_CONTEXT #undef B_TRANSLATION_CONTEXT
#define B_TRANSLATION_CONTEXT "VolumeWindow" #define B_TRANSLATION_CONTEXT "VolumeWindow"
// #pragma mark - BVolumeWindow
BVolumeWindow::BVolumeWindow(LockingList<BWindow>* windowList, BVolumeWindow::BVolumeWindow(LockingList<BWindow>* windowList,
uint32 openFlags) uint32 openFlags)
: BContainerWindow(windowList, openFlags) :
BContainerWindow(windowList, openFlags)
{ {
} }
@@ -89,7 +93,7 @@ BVolumeWindow::MenusBeginning()
} }
BMenuItem* item = fMenuBar->FindItem(kUnmountVolume); BMenuItem* item = fMenuBar->FindItem(kUnmountVolume);
if (item) if (item != NULL)
item->SetEnabled(ejectableVolumeSelected); item->SetEnabled(ejectableVolumeSelected);
} }
+1
View File
@@ -64,4 +64,5 @@ class BVolumeWindow : public BContainerWindow {
using namespace BPrivate; using namespace BPrivate;
#endif // _VOLUME_WINDOW_H #endif // _VOLUME_WINDOW_H