summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/main-window.cpp')
-rw-r--r--gui/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index 7de95f98..a1e86863 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -127,7 +127,7 @@ MainWindow::MainWindow() :
init_tray_menu();
connect(&s.tray_enabled,
- static_cast<void (base_value::*)(bool)>(&base_value::valueChanged),
+ static_cast<void (base_value::*)(bool) const>(&base_value::valueChanged),
this,
[&](bool) { ensure_tray(); });
ensure_tray();