[vlc-commits] Qt: Preferences: rename slot too
Francois Cartegnie
git at videolan.org
Fri Apr 5 21:26:55 CEST 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Apr 5 21:23:25 2013 +0200| [303033c7497944ae4ce29b83667c15fb05ac7e6d] | committer: Francois Cartegnie
Qt: Preferences: rename slot too
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=303033c7497944ae4ce29b83667c15fb05ac7e6d
---
modules/gui/qt4/dialogs/preferences.cpp | 6 +++---
modules/gui/qt4/dialogs/preferences.hpp | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp
index 10a9f80..bfa421a 100644
--- a/modules/gui/qt4/dialogs/preferences.cpp
+++ b/modules/gui/qt4/dialogs/preferences.cpp
@@ -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 )
diff --git a/modules/gui/qt4/dialogs/preferences.hpp b/modules/gui/qt4/dialogs/preferences.hpp
index f4b8b2e..ea71af8 100644
--- a/modules/gui/qt4/dialogs/preferences.hpp
+++ b/modules/gui/qt4/dialogs/preferences.hpp
@@ -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 );
More information about the vlc-commits
mailing list