[vlc-devel] commit: Restore MediaInfo size after launch. (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Aug 22 03:04:17 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 21 17:32:28 2008 -0700| [204edd2de8ae3487d9f8f613ac41269093ff0505] | committer: Jean-Baptiste Kempf 

Restore MediaInfo size after launch.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=204edd2de8ae3487d9f8f613ac41269093ff0505
---

 modules/gui/qt4/dialogs/mediainfo.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/mediainfo.cpp b/modules/gui/qt4/dialogs/mediainfo.cpp
index f10733e..03da1df 100644
--- a/modules/gui/qt4/dialogs/mediainfo.cpp
+++ b/modules/gui/qt4/dialogs/mediainfo.cpp
@@ -53,7 +53,6 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
     i_runs = 0;
 
     setWindowTitle( qtr( "Media Information" ) );
-    resize( 600 , 480 );
 
     /* TabWidgets and Tabs creation */
     IT = new QTabWidget;
@@ -114,11 +113,13 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
 
     if( stats )
         ON_TIMEOUT( updateOnTimeOut() );
+
+    readSettings( "Mediainfo", QSize( 600 , 480 ) );
 }
 
 MediaInfoDialog::~MediaInfoDialog()
 {
-    writeSettings( "mediainfo" );
+    writeSettings( "Mediainfo" );
 }
 
 void MediaInfoDialog::showTab( int i_tab = 0 )




More information about the vlc-devel mailing list