diff options
| author | Elvis Angelaccio <[email protected]> | 2020-12-05 16:58:04 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-12-05 16:58:04 +0100 |
| commit | c4a1903dd1fac76e0c8617e1973b0634f62d29cc (patch) | |
| tree | 5d46945c707c8c0597132ce9a3004f44dcc5bec3 /src | |
| parent | e06d6b2c8a236fe8929713239d29f71f669d79a0 (diff) | |
Add missing const
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index fb6da0b4a..636a8e1a9 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -849,7 +849,7 @@ void DolphinMainWindow::showFilterBar() void DolphinMainWindow::toggleFilterBar() { - bool checked = !m_activeViewContainer->isFilterBarVisible(); + const bool checked = !m_activeViewContainer->isFilterBarVisible(); m_activeViewContainer->setFilterBarVisible(checked); QAction* toggleFilterBarAction = actionCollection()->action(QStringLiteral("toggle_filter")); |
