Commit 57cbe226 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Wizzard: Fix "Do not show on startup" option.

parent c0448406
......@@ -123,16 +123,16 @@ MainWindow::MainWindow( QWidget *parent ) :
m_pWizard = new ProjectWizard( this );
m_pWizard->setModal( true );
#ifdef WITH_CRASHHANDLER
QSettings s;
if ( s.value( "ShowWizardStartup", true ).toBool() &&
restoreSession() == false )
if ( s.value( "ShowWizardStartup", true ).toBool() )
{
#ifdef WITH_CRASHHANDLER
if ( restoreSession() == false )
return ;
#endif
m_pWizard->show();
}
#else
m_pWizard->show();
#endif
}
MainWindow::~MainWindow()
......
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