Commit 975984c0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix annoying bug that prevented Bookmark dialog to be shown at first time.

Fix by J-Peg.
parent 27eb5342
...@@ -93,7 +93,7 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf ):QVLCFrame( _p_intf ) ...@@ -93,7 +93,7 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf ):QVLCFrame( _p_intf )
#endif #endif
BUTTONACT( closeButton, close() ); BUTTONACT( closeButton, close() );
readSettings( "Bookmarks" ); readSettings( "Bookmarks", QSize( 435, 206 ) );
updateGeometry(); updateGeometry();
} }
......
...@@ -134,7 +134,7 @@ protected: ...@@ -134,7 +134,7 @@ protected:
intf_thread_t *p_intf; intf_thread_t *p_intf;
void readSettings( QString name, void readSettings( QString name,
QSize defSize = QSize( 0, 0 ), QSize defSize = QSize( 1, 1 ),
QPoint defPos = QPoint( 0, 0 ) ) QPoint defPos = QPoint( 0, 0 ) )
{ {
QVLCTools::restoreWidgetPosition(p_intf, name, this, defSize, defPos); QVLCTools::restoreWidgetPosition(p_intf, name, this, defSize, defPos);
......
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