Commit 1782c4e4 authored by Rafaël Carré's avatar Rafaël Carré

qt4 preferences: combo is mandatory in StringListConfigControl constructor

parent 57b373bb
...@@ -367,8 +367,8 @@ public: ...@@ -367,8 +367,8 @@ public:
QComboBox*, bool ); QComboBox*, bool );
virtual ~StringListConfigControl() {}; virtual ~StringListConfigControl() {};
virtual QString getValue(); virtual QString getValue();
virtual void hide() { if( combo ) combo->hide(); if( label ) label->hide(); } virtual void hide() { combo->hide(); if( label ) label->hide(); }
virtual void show() { if( combo ) combo->show(); if( label ) label->show(); } virtual void show() { combo->show(); if( label ) label->show(); }
private: private:
void finish( bool ); void finish( bool );
QLabel *label; QLabel *label;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment