[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 16:02:07 CEST 2008
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 24 20:55:37 2008 -0700| [b825836c23d6b4f94c6187bc10c0db9c5ee7633b] | committer: Christophe Mutricy
Fix annoying bug that prevented Bookmark dialog to be shown at first time.
Fix by J-Peg.
(cherry picked from commit 975984c0161de485b717a02180922725b2e091b8)
Signed-off-by: Christophe Mutricy <xtophe at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b825836c23d6b4f94c6187bc10c0db9c5ee7633b
---
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