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