Changeset 5351f1b8d5346e5db67bfa1c6ba74490fd7e2673

Show
Ignore:
Timestamp:
10/02/08 12:14:41 (8 months ago)
Author:
Jean-Baptiste Kempf <jb@videolan.org>
git-committer:
Jean-Baptiste Kempf <jb@videolan.org> 1202642081 +0000
git-parent:

[affff083025faca5a5366a4c84f1500213953db7]

git-author:
Jean-Baptiste Kempf <jb@videolan.org> 1202642081 +0000
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/main_interface.cpp

    r683bc3d r5351f1b  
    281281                        getControlsVisibilityStatus() & CONTROLS_ADVANCED ); 
    282282    settings->setValue( "pos", pos() ); 
    283     settings->setValue( "size", size() ); 
     283    if( !videoIsActive ) 
     284        settings->setValue( "size", size() ); 
    284285    if( bgWidget ) 
    285286        settings->setValue( "backgroundSize", bgWidget->size() );