summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/options.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/opentrack/options.hpp b/opentrack/options.hpp
index b7cc44a4..7c3f6847 100644
--- a/opentrack/options.hpp
+++ b/opentrack/options.hpp
@@ -30,7 +30,6 @@
#include <QCoreApplication>
#include <QFileInfo>
#include <QDir>
-#include <QRadioButton>
#include <cinttypes>
@@ -454,12 +453,4 @@ namespace options {
base_value::connect(t, SIGNAL(currentChanged(int)), &v, SLOT(setValue(int)), v.DIRECT_CONNTYPE);
base_value::connect(&v, SIGNAL(valueChanged(int)), t, SLOT(setCurrentIndex(int)), v.SAFE_CONNTYPE);
}
-
- template<>
- inline void tie_setting(value<bool>& v, QRadioButton* t)
- {
- t->setChecked(v);
- base_value::connect(t, SIGNAL(toggled(bool)), &v, SLOT(setValue(bool)), v.DIRECT_CONNTYPE);
- base_value::connect(&v, SIGNAL(valueChanged(bool)), t, SLOT(setChecked(bool)), v.SAFE_CONNTYPE);
- }
}