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

Qt4 - Dialog size. Hope to fix windows bug.

parent 89a7f21f
...@@ -44,6 +44,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput ) : ...@@ -44,6 +44,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput ) :
p_input = NULL; p_input = NULL;
setWindowTitle( qtr( "Media information" ) ); setWindowTitle( qtr( "Media information" ) );
resize( 500 , 450 );
QGridLayout *layout = new QGridLayout(this); QGridLayout *layout = new QGridLayout(this);
IT = new InfoTab( this, p_intf, true ) ; IT = new InfoTab( this, p_intf, true ) ;
...@@ -59,7 +60,6 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput ) : ...@@ -59,7 +60,6 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput ) :
ON_TIMEOUT( update() ); ON_TIMEOUT( update() );
var_AddCallback( THEPL, "item-change", ItemChanged, this ); var_AddCallback( THEPL, "item-change", ItemChanged, this );
} }
readSettings( "mediainfo" , QSize( 500, 450 ) );
} }
MediaInfoDialog::~MediaInfoDialog() MediaInfoDialog::~MediaInfoDialog()
......
...@@ -39,7 +39,7 @@ MessagesDialog *MessagesDialog::instance = NULL; ...@@ -39,7 +39,7 @@ MessagesDialog *MessagesDialog::instance = NULL;
MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf ) MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
{ {
setWindowTitle( qtr( "Messages" ) ); setWindowTitle( qtr( "Messages" ) );
resize(600, 400); resize( 600, 450 );
QGridLayout *layout = new QGridLayout( this ); QGridLayout *layout = new QGridLayout( this );
QPushButton *closeButton = new QPushButton( qtr( "&Close" ) ); QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
......
Supports Markdown
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