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

Don't ask if a session should be restored if crash handler is off.

parent fc5fab2f
......@@ -123,12 +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 )
{
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