]> git.sesse.net Git - vlc/commitdiff
qt4: save and restore the position of the GotoTime dialog
authorLudovic Fauvet <etix@videolan.org>
Thu, 7 Jun 2012 14:27:13 +0000 (16:27 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 7 Jun 2012 14:32:00 +0000 (16:32 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/dialogs/gototime.cpp

index 909e800b30ce9594dee89287e12ec6a59ef67bc1..77035fb05b73b219c6331320f9f92fab2fd1aced 100644 (file)
@@ -74,10 +74,13 @@ GotoTimeDialog::GotoTimeDialog( intf_thread_t *_p_intf)
     BUTTONACT( gotoButton, close() );
     BUTTONACT( cancelButton, cancel() );
     BUTTONACT( resetButton, reset() );
+
+    QVLCTools::restoreWidgetPosition( p_intf, "gototimedialog", this );
 }
 
 GotoTimeDialog::~GotoTimeDialog()
 {
+    QVLCTools::saveWidgetPosition( p_intf, "gototimedialog", this );
 }
 
 void GotoTimeDialog::toggleVisible()