diff options
| author | Frank Reininghaus <[email protected]> | 2012-09-11 19:17:40 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-09-11 19:17:40 +0200 |
| commit | eb54d5b3481e68f45ba93b0224b3d83930a58f88 (patch) | |
| tree | c3dbec7f86a2ae1ace7d34bee30414dff6e06b45 /src/search/dolphinsearchbox.cpp | |
| parent | 2da3823b747d0eda7ddb28e2c1c7a492e26d5743 (diff) | |
Simplify boolean expression
Thanks to André Wöbbeking for noticing that this was unnecessarily
complex!
Diffstat (limited to 'src/search/dolphinsearchbox.cpp')
| -rw-r--r-- | src/search/dolphinsearchbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index a9a4b667a..6f1c736b0 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -280,7 +280,7 @@ void DolphinSearchBox::saveSettings() { SearchSettings::setLocation(m_fromHereButton->isChecked() ? "FromHere" : "Everywhere"); SearchSettings::setWhat(m_fileNameButton->isChecked() ? "FileName" : "Content"); - SearchSettings::setShowFacetsWidget(m_facetsToggleButton->isChecked() ? true : false); + SearchSettings::setShowFacetsWidget(m_facetsToggleButton->isChecked()); SearchSettings::self()->writeConfig(); } |
