summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/options.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-29 14:02:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-29 14:02:34 +0200
commit5d393d14662ba283981ee058e044018d8f84a924 (patch)
treec55467fad9b93aec68cd4ad4a81ddb87636bb27f /opentrack-compat/options.hpp
parentd73a8a62c2d77b2abf3cb1fb53b7acee4863089f (diff)
compat/options: also use references for base_value slots
Diffstat (limited to 'opentrack-compat/options.hpp')
-rw-r--r--opentrack-compat/options.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack-compat/options.hpp b/opentrack-compat/options.hpp
index d1173894..3e5ecbf4 100644
--- a/opentrack-compat/options.hpp
+++ b/opentrack-compat/options.hpp
@@ -237,9 +237,9 @@ namespace options {
public slots:
OPENTRACK_DEFINE_SLOT(double)
OPENTRACK_DEFINE_SLOT(int)
- OPENTRACK_DEFINE_SLOT(QString)
OPENTRACK_DEFINE_SLOT(bool)
- OPENTRACK_DEFINE_SLOT(slider_value)
+ OPENTRACK_DEFINE_SLOT(const QString&)
+ OPENTRACK_DEFINE_SLOT(const slider_value&)
public slots:
virtual void reload() = 0;
};