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

qt4: save and restore the position of the GotoTime dialog

Signed-off-by: Jean-Baptiste Kempf <[email protected]>
(cherry picked from commit 1d6ed61ee96ebdc1d462cd70ea4bb733774369e3)

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

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

 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 6843583..463a520 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