vlc | branch: master | Ludovic Fauvet <[email protected]> | Thu Jun  7 16:27:13 
2012 +0200| [1d6ed61ee96ebdc1d462cd70ea4bb733774369e3] | committer: 
Jean-Baptiste Kempf

qt4: save and restore the position of the GotoTime dialog

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/gui/qt4/dialogs/gototime.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/qt4/dialogs/gototime.cpp 
b/modules/gui/qt4/dialogs/gototime.cpp
index 909e800..77035fb 100644
--- a/modules/gui/qt4/dialogs/gototime.cpp
+++ b/modules/gui/qt4/dialogs/gototime.cpp
@@ -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()

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to