Tracker: style fixes to SelectionWindow

This commit is contained in:
John Scipione
2014-06-20 21:29:31 -04:00
parent 96d9dde048
commit 775ad007b5
2 changed files with 10 additions and 5 deletions
+7 -3
View File
@@ -50,6 +50,9 @@ All rights reserved.
const uint32 kSelectButtonPressed = 'sbpr';
// #pragma mark - SelectionWindow
#undef B_TRANSLATION_CONTEXT
#define B_TRANSLATION_CONTEXT "SelectionWindow"
@@ -220,6 +223,7 @@ SelectionWindow::MessageReceived(BMessage* message)
default:
_inherited::MessageReceived(message);
break;
}
}
@@ -265,7 +269,7 @@ SelectionWindow::ExpressionType() const
return kNone;
BMenuItem* item = fMatchingTypeMenuField->Menu()->FindMarked();
if (!item) {
if (item == NULL) {
fMatchingTypeMenuField->UnlockLooper();
return kNone;
}
@@ -300,7 +304,7 @@ bool
SelectionWindow::IgnoreCase() const
{
if (!fIgnoreCaseCheckBox->LockLooper()) {
// default action.
// default action
return true;
}
@@ -316,7 +320,7 @@ bool
SelectionWindow::Invert() const
{
if (!fInverseCheckBox->LockLooper()) {
// default action.
// default action
return false;
}
+1
View File
@@ -79,4 +79,5 @@ private:
using namespace BPrivate;
#endif // _SELECTION_WINDOW_H