[vlc-commits] VLM: correctly save and restore the geometry

Jean-Baptiste Kempf git at videolan.org
Fri Nov 18 03:07:38 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 18 03:02:38 2011 +0100| [a30d9526b9bda1f15b9361ceb40c3ebb5effd830] | committer: Jean-Baptiste Kempf

VLM: correctly save and restore the geometry

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

 modules/gui/qt4/dialogs/vlm.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 30669d2..73eff25 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -162,7 +162,7 @@ VLMDialog::~VLMDialog()
 {
     delete vlmWrapper;
 
-    //writeSettings( "VLM" );
+    getSettings()->setValue("VLM/geometry", saveGeometry());
    /* TODO :you have to destroy vlm here to close
     * but we shouldn't destroy vlm here in case somebody else wants it */
     if( p_vlm )



More information about the vlc-commits mailing list