]> git.sesse.net Git - vlc/commitdiff
VLM: correctly save and restore the geometry
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 18 Nov 2011 02:02:38 +0000 (03:02 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 18 Nov 2011 02:07:25 +0000 (03:07 +0100)
modules/gui/qt4/dialogs/vlm.cpp

index 30669d2ac86fefdabc250e96b64d301fdcde0a8a..73eff25e4710c9167e13ab7f52b443437e7d5220 100644 (file)
@@ -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 )