Commit d489b50e authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Don't show the wizzard when loading a project from the command line.

parent 5be1ea18
......@@ -128,10 +128,12 @@ MainWindow::MainWindow( QWidget *parent ) :
if ( s.value( "ShowWizardStartup", true ).toBool() )
{
#ifdef WITH_CRASHHANDLER
if ( restoreSession() == false )
return ;
if ( restoreSession() == false )
return ;
#endif
m_pWizard->show();
//If a project was opened from the command line: don't show the wizzard.
if ( qApp->arguments().size() == 1 )
m_pWizard->show();
}
}
......
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