diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-18 09:29:01 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-18 09:29:01 +0200 |
commit | 771e3feef12683b2e756bb638f63934322923620 (patch) | |
tree | 08eb1e05edc070e627c388015c7b59f2e1e1cd29 /opentrack/options.hpp | |
parent | 4b616d3b4b2c6157df733e7578b53cf2b3182e24 (diff) |
Revert "options: add support for QRadioButton"
This reverts commit 4c98d6cdc8b99ee1e517b2f82be1b0b5fc17d988.
Diffstat (limited to 'opentrack/options.hpp')
-rw-r--r-- | opentrack/options.hpp | 9 |
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); - } } |