Commit b78197c1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: remove isFirstRun parameter

This is totally redundant. qt-privacy-ask does the exact same thing.
parent 0faa838c
......@@ -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:
......
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