From 771e3feef12683b2e756bb638f63934322923620 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 Jun 2015 09:29:01 +0200 Subject: Revert "options: add support for QRadioButton" This reverts commit 4c98d6cdc8b99ee1e517b2f82be1b0b5fc17d988. --- opentrack/options.hpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'opentrack/options.hpp') 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 #include #include -#include #include @@ -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& 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); - } } -- cgit v1.2.3