[vlc-commits] Qt: preferences_widgets: fix vtable entries for show()/hide()

Francois Cartegnie git at videolan.org
Fri Mar 2 01:36:17 CET 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Mar  2 01:28:41 2012 +0100| [d73cc541acbf2ba3067ea76aaedf61b7742a01a0] | committer: Francois Cartegnie

Qt: preferences_widgets: fix vtable entries for show()/hide()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d73cc541acbf2ba3067ea76aaedf61b7742a01a0
---

 modules/gui/qt4/components/preferences_widgets.hpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/preferences_widgets.hpp b/modules/gui/qt4/components/preferences_widgets.hpp
index 20d2529..78686f8 100644
--- a/modules/gui/qt4/components/preferences_widgets.hpp
+++ b/modules/gui/qt4/components/preferences_widgets.hpp
@@ -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;



More information about the vlc-commits mailing list