Commit 3b73b343 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Session restoring: Don't assume vlmc crashed last time.

This fixes a bug at first launch.
parent 58b56799
......@@ -574,7 +574,7 @@ bool MainWindow::restoreSession()
fileCreated = s.contains( "VlmcVersion" );
if ( fileCreated == true )
bool cleanQuit = s.value( "CleanQuit", false ).toBool();
bool cleanQuit = s.value( "CleanQuit", true ).toBool();
// Restore the geometry
restoreGeometry( s.value( "MainWindowGeometry" ).toByteArray() );
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