[vlc-devel] commit: Fix annoying bug that prevented Bookmark dialog to be shown at first time. (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Aug 25 07:26:07 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 24 20:55:37 2008 -0700| [975984c0161de485b717a02180922725b2e091b8] | committer: Jean-Baptiste Kempf 

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

Fix by J-Peg.

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

 modules/gui/qt4/dialogs/bookmarks.cpp |    2 +-
 modules/gui/qt4/util/qvlcframe.hpp    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/bookmarks.cpp b/modules/gui/qt4/dialogs/bookmarks.cpp
index 5333783..097150e 100644
--- a/modules/gui/qt4/dialogs/bookmarks.cpp
+++ b/modules/gui/qt4/dialogs/bookmarks.cpp
@@ -93,7 +93,7 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf ):QVLCFrame( _p_intf )
 #endif
     BUTTONACT( closeButton, close() );
 
-    readSettings( "Bookmarks" );
+    readSettings( "Bookmarks", QSize( 435, 206 ) );
     updateGeometry();
 }
 
diff --git a/modules/gui/qt4/util/qvlcframe.hpp b/modules/gui/qt4/util/qvlcframe.hpp
index ad7426c..b5f8e48 100644
--- a/modules/gui/qt4/util/qvlcframe.hpp
+++ b/modules/gui/qt4/util/qvlcframe.hpp
@@ -134,7 +134,7 @@ protected:
     intf_thread_t *p_intf;
 
     void readSettings( QString name,
-                       QSize defSize = QSize( 0, 0 ),
+                       QSize defSize = QSize( 1, 1 ),
                        QPoint defPos = QPoint( 0, 0 ) )
     {
         QVLCTools::restoreWidgetPosition(p_intf, name, this, defSize, defPos);




More information about the vlc-devel mailing list