]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/preferences_widgets.hpp
UI: Sprefs_audio fixes and enhancements
[vlc] / modules / gui / qt4 / components / preferences_widgets.hpp
index b42bc0ae512742404bf5c1f4f4c499cce516ebc4..e007c45ea69c00578e1da01fef010fef7a8d4962 100644 (file)
@@ -201,14 +201,14 @@ public:
     BoolConfigControl( vlc_object_t *, module_config_t *, QWidget *,
                        QGridLayout *, int& );
     BoolConfigControl( vlc_object_t *, module_config_t *,
-                       QLabel *, QCheckBox*, bool );
+                       QLabel *, QAbstractButton*, bool );
     virtual ~BoolConfigControl() {};
     virtual int getValue();
     virtual void show() { checkbox->show(); }
     virtual void hide() { checkbox->hide(); }
     virtual int getType() { return CONFIG_ITEM_BOOL; }
-private:
-    QCheckBox *checkbox;
+private:    
+    QAbstractButton *checkbox;
     void finish();
 };