summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-18 17:01:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-18 17:05:12 +0200
commit132a1925340bcd75a88f831a3487044736dccb4a (patch)
treed741f42c413631a6923b7b674b784d3648ff5f94 /gui/main-window.cpp
parentac3878aaada9886de097aee7b0041468590f50d1 (diff)
options: add base_value signal const
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();