From 5d393d14662ba283981ee058e044018d8f84a924 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 29 Jun 2016 14:02:34 +0200 Subject: compat/options: also use references for base_value slots --- opentrack-compat/options.hpp | 4 ++-- 1 file 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; }; -- cgit v1.2.3