Apply readability-simplify-boolean-expr

This commit is contained in:
Flössie
2016-10-12 20:01:30 +02:00
parent 19de9d1efa
commit aeaff29ac0
18 changed files with 53 additions and 85 deletions

View File

@@ -2122,11 +2122,7 @@ void FileCatalog::tbRightPanel_1_toggled ()
bool FileCatalog::CheckSidePanelsVisibility()
{
if(tbLeftPanel_1->get_active() == false && tbRightPanel_1->get_active() == false) {
return false;
} else {
return true;
}
return !(!tbLeftPanel_1->get_active() && !tbRightPanel_1->get_active());
}
void FileCatalog::toggleSidePanels()
{
@@ -2539,11 +2535,7 @@ bool FileCatalog::handleShortcutKey (GdkEventKey* event)
}
}
if (fileBrowser->keyPressed(event)) {
return true;
}
return false;
return fileBrowser->keyPressed(event);
}
void FileCatalog::showToolBar()