summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-18 10:46:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-18 10:46:22 +0200
commit5aaac871b90b3d5aa642e44fba5b86577134f8ec (patch)
treea271688f6106a86f88992f4635606af6621b2cb9 /opentrack
parent913f41a7d5f2605da32be95b35c9a9df35a53fd8 (diff)
Revert "options: add support for QRadioButton"
This reverts commit 21f6b1c681ca6efe4511486994264b8d8c8d9463.
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);
- }
}