Adjust whitespace in if statements.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 14 Jul 2021 19:34:51 +0000 (21:34 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 14 Jul 2021 19:34:51 +0000 (21:34 +0200)
src/gui/searchtabcontainer.cpp

index af2f8d38e192ef59b34d6e1cce0f6e0e26009d5a..3c3d7bdd326c42cef91b777c04023ec61864a5b0 100644 (file)
@@ -63,15 +63,15 @@ void SearchTabContainer::searchButtonClicked() {
     QMultiHash<QString,QString> columns;
 
     SearchHead *searchHeader = static_cast<SearchHead*>(header);
     QMultiHash<QString,QString> columns;
 
     SearchHead *searchHeader = static_cast<SearchHead*>(header);
-    if( searchHeader->searchTitle->isChecked() )
+    if (searchHeader->searchTitle->isChecked())
         columns.insert("EVENT", "title");
         columns.insert("EVENT", "title");
-    if( searchHeader->searchAbstract->isChecked() )
+    if (searchHeader->searchAbstract->isChecked())
         columns.insert("EVENT", "abstract");
         columns.insert("EVENT", "abstract");
-    if( searchHeader->searchTag->isChecked() )
+    if (searchHeader->searchTag->isChecked())
         columns.insert("EVENT", "tag");
         columns.insert("EVENT", "tag");
-    if( searchHeader->searchSpeaker->isChecked() )
+    if (searchHeader->searchSpeaker->isChecked())
         columns.insert("PERSON", "name");
         columns.insert("PERSON", "name");
-    if( searchHeader->searchRoom->isChecked() )
+    if (searchHeader->searchRoom->isChecked())
         columns.insert("ROOM", "name");
 
     QString keyword = searchHeader->searchEdit->text();
         columns.insert("ROOM", "name");
 
     QString keyword = searchHeader->searchEdit->text();