[vlc-commits] qt4: save and restore the position of the GotoTime dialog
Ludovic Fauvet
git at videolan.org
Thu Jun 7 16:51:41 CEST 2012
vlc/vlc-2.0 | branch: master | Ludovic Fauvet <etix at videolan.org> | 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 <jb at videolan.org>
(cherry picked from commit 1d6ed61ee96ebdc1d462cd70ea4bb733774369e3)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> 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()
More information about the vlc-commits
mailing list