[vlc-commits] qt4: save and restore the position of the GotoTime dialog
Ludovic Fauvet
git at videolan.org
Thu Jun 7 16:35:37 CEST 2012
vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | 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 <jb at videolan.org>
> 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()
More information about the vlc-commits
mailing list