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

Francois Cartegnie git at videolan.org
Fri Mar 2 02:16:04 CET 2012


vlc/vlc-2.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Mar  2 01:28:41 2012 +0100| [6fd13981389405c724be39111e50e639eb612a3e] | committer: Jean-Baptiste Kempf

Qt: preferences_widgets: fix vtable entries for show()/hide()
(cherry picked from commit d73cc541acbf2ba3067ea76aaedf61b7742a01a0)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 f7d7e36..485210a 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