Commit 303033c7 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: Preferences: rename slot too

parent 93322f91
...@@ -135,13 +135,13 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf ) ...@@ -135,13 +135,13 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
|| var_InheritBool( p_intf, "advanced" ) ) || var_InheritBool( p_intf, "advanced" ) )
setAdvanced(); setAdvanced();
else else
setSmall(); setSimple();
BUTTONACT( save, save() ); BUTTONACT( save, save() );
BUTTONACT( cancel, cancel() ); BUTTONACT( cancel, cancel() );
BUTTONACT( reset, reset() ); BUTTONACT( reset, reset() );
BUTTONACT( simple, setSmall() ); BUTTONACT( simple, setSimple() );
BUTTONACT( all, setAdvanced() ); BUTTONACT( all, setAdvanced() );
resize( 780, sizeHint().height() ); resize( 780, sizeHint().height() );
...@@ -197,7 +197,7 @@ void PrefsDialog::setAdvanced() ...@@ -197,7 +197,7 @@ void PrefsDialog::setAdvanced()
setWindowTitle( qtr( "Advanced Preferences" ) ); setWindowTitle( qtr( "Advanced Preferences" ) );
} }
void PrefsDialog::setSmall() void PrefsDialog::setSimple()
{ {
/* If no simple_tree, create one, connect it */ /* If no simple_tree, create one, connect it */
if( !simple_tree ) if( !simple_tree )
......
...@@ -73,13 +73,13 @@ private: ...@@ -73,13 +73,13 @@ private:
QCheckBox *current_filter; QCheckBox *current_filter;
QGroupBox *types; QGroupBox *types;
QRadioButton *small,*all; QRadioButton *simple,*all;
bool b_small; bool b_small;
private slots: private slots:
void setAdvanced(); void setAdvanced();
void setSmall(); void setSimple();
void changeAdvPanel( QTreeWidgetItem * ); void changeAdvPanel( QTreeWidgetItem * );
void changeSimplePanel( int ); void changeSimplePanel( int );
......
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