vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Mar 24 14:35:47 2013 +0200| [b78197c1b99d55795f85a316d9c963a650f4d677] | committer: Rémi Denis-Courmont
Qt4: remove isFirstRun parameter This is totally redundant. qt-privacy-ask does the exact same thing. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b78197c1b99d55795f85a316d9c963a650f4d677 --- modules/gui/qt4/dialogs/firstrun.hpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/gui/qt4/dialogs/firstrun.hpp b/modules/gui/qt4/dialogs/firstrun.hpp index 0deaa95..0159a02 100644 --- a/modules/gui/qt4/dialogs/firstrun.hpp +++ b/modules/gui/qt4/dialogs/firstrun.hpp @@ -33,14 +33,8 @@ class FirstRun : public QWidget public: static void CheckAndRun( QWidget *_p, intf_thread_t *p_intf ) { - if( getSettings()->value( "IsFirstRun", 1 ).toInt() ) - { - if( var_InheritBool( p_intf, "qt-privacy-ask") ) - { - new FirstRun( _p, p_intf ); - } - getSettings()->setValue( "IsFirstRun", 0 ); - } + if( var_InheritBool( p_intf, "qt-privacy-ask") ) + new FirstRun( _p, p_intf ); } FirstRun( QWidget *, intf_thread_t * ); private: _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
