From: Rafaël Carré Date: Mon, 15 Oct 2007 21:17:12 +0000 (+0000) Subject: qt4 preferences: combo is mandatory in StringListConfigControl constructor X-Git-Tag: 0.9.0-test0~5018 X-Git-Url: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=commitdiff_plain;h=1782c4e4558356c6f374c1fec563e2e70f38f47b qt4 preferences: combo is mandatory in StringListConfigControl constructor --- diff --git a/modules/gui/qt4/components/preferences_widgets.hpp b/modules/gui/qt4/components/preferences_widgets.hpp index b63ff9343f..836e66f7bc 100644 --- a/modules/gui/qt4/components/preferences_widgets.hpp +++ b/modules/gui/qt4/components/preferences_widgets.hpp @@ -367,8 +367,8 @@ public: QComboBox*, bool ); virtual ~StringListConfigControl() {}; virtual QString getValue(); - virtual void hide() { if( combo ) combo->hide(); if( label ) label->hide(); } - virtual void show() { if( combo ) combo->show(); if( label ) label->show(); } + virtual void hide() { combo->hide(); if( label ) label->hide(); } + virtual void show() { combo->show(); if( label ) label->show(); } private: void finish( bool ); QLabel *label;