Commit 204edd2d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Restore MediaInfo size after launch.

parent 3f5d4a95
......@@ -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 )
......
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