Commit 5351f1b8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt4 - save the mainInterface size only if there was no video playing when you quit.

parent affff083
......@@ -280,7 +280,8 @@ MainInterface::~MainInterface()
settings->setValue( "adv-controls",
getControlsVisibilityStatus() & CONTROLS_ADVANCED );
settings->setValue( "pos", pos() );
settings->setValue( "size", size() );
if( !videoIsActive )
settings->setValue( "size", size() );
if( bgWidget )
settings->setValue( "backgroundSize", bgWidget->size() );
......
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