]> git.sesse.net Git - vlc/commitdiff
Qt4 - Dialog size. Hope to fix windows bug.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 25 Apr 2007 18:12:57 +0000 (18:12 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 25 Apr 2007 18:12:57 +0000 (18:12 +0000)
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/messages.cpp

index 9b4211433a32270623620e912f490a4af9cb3d96..91d8a5c36c4f6bcbe66289a6ffe3ab62ecc75cba 100644 (file)
@@ -44,6 +44,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput ) :
     p_input = NULL;
 
     setWindowTitle( qtr( "Media information" ) );
+    resize( 500 , 450 );
 
     QGridLayout *layout = new QGridLayout(this);
     IT = new InfoTab( this, p_intf, true ) ;
@@ -59,7 +60,6 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput ) :
         ON_TIMEOUT( update() );
         var_AddCallback( THEPL, "item-change", ItemChanged, this );
     }
-    readSettings( "mediainfo" , QSize( 500, 450 ) );
 }
 
 MediaInfoDialog::~MediaInfoDialog()
index 57e1c4a56fbad65256d4739a582411311c450b54..3a51f72b74980a1654db8f11a29098ee18109f6e 100644 (file)
@@ -39,7 +39,7 @@ MessagesDialog *MessagesDialog::instance = NULL;
 MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) :  QVLCFrame( _p_intf )
 {
     setWindowTitle( qtr( "Messages" ) );
-    resize(600, 400);
+    resize( 600, 450 );
 
     QGridLayout *layout = new QGridLayout( this );
     QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );