summaryrefslogtreecommitdiffhomepage
path: root/opentrack/options.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-18 09:29:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-18 09:29:01 +0200
commit771e3feef12683b2e756bb638f63934322923620 (patch)
tree08eb1e05edc070e627c388015c7b59f2e1e1cd29 /opentrack/options.hpp
parent4b616d3b4b2c6157df733e7578b53cf2b3182e24 (diff)
Revert "options: add support for QRadioButton"
This reverts commit 4c98d6cdc8b99ee1e517b2f82be1b0b5fc17d988.
Diffstat (limited to 'opentrack/options.hpp')
-rw-r--r--opentrack/options.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/opentrack/options.hpp b/opentrack/options.hpp
index 3d2f0f9b..a8880cad 100644
--- a/opentrack/options.hpp
+++ b/opentrack/options.hpp
@@ -30,7 +30,6 @@
#include <QCoreApplication>
#include <QFileInfo>
#include <QDir>
-#include <QRadioButton>
#include <cinttypes>
@@ -451,12 +450,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);
- }
}