]> git.sesse.net Git - vlc/commitdiff
Qt: preferences_widgets: fix vtable entries for show()/hide()
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 2 Mar 2012 00:28:41 +0000 (01:28 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 2 Mar 2012 00:35:43 +0000 (01:35 +0100)
modules/gui/qt4/components/preferences_widgets.hpp

index 20d2529f57682ad1df73ed257a886b0a907a5ed7..78686f8ff3ec4d6a90ac4e4d72712252c0c909e5 100644 (file)
@@ -139,8 +139,8 @@ public:
     IntegerConfigControl( vlc_object_t *, module_config_t *,
                           QLabel*, QSlider* );
     virtual int getValue() const;
-    virtual void show() const { spin->show(); if( label ) label->show(); }
-    virtual void hide() const { spin->hide(); if( label ) label->hide(); }
+    virtual void show() { spin->show(); if( label ) label->show(); }
+    virtual void hide() { spin->hide(); if( label ) label->hide(); }
 
 protected:
     QSpinBox *spin;