[vlc-commits] Qt: fix VLM geometry restoration
Jean-Baptiste Kempf
git at videolan.org
Fri Nov 18 23:15:46 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 18 23:13:12 2011 +0100| [a169af98651cb1cfa590ae7c55977988d3cd5b56] | committer: Jean-Baptiste Kempf
Qt: fix VLM geometry restoration
Forgotten in previous commit
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a169af98651cb1cfa590ae7c55977988d3cd5b56
---
modules/gui/qt4/dialogs/vlm.cpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 73eff25..03305f3 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -155,7 +155,11 @@ VLMDialog::VLMDialog( intf_thread_t *_p_intf ) : QVLCDialog( (QWidget*)_p_intf->
BUTTONACT( ui.saveButton, saveModifications() );
BUTTONACT( ui.inputButton, selectInput() );
BUTTONACT( ui.outputButton, selectOutput() );
- //readSettings( "VLM", QSize( 700, 500 ) );
+
+ if( !restoreGeometry( getSettings()->value("VLM/geometry").toByteArray() ) )
+ {
+ resize( QSize( 700, 500 ) );
+ }
}
VLMDialog::~VLMDialog()
More information about the vlc-commits
mailing list