[vlc-devel] [PATCH 3/4] qt4: save and restore the position of the GotoTime dialog

Ludovic Fauvet etix at videolan.org
Thu Jun 7 16:13:24 CEST 2012


On Thu, Jun 7, 2012 at 3:06 PM, Ludovic Fauvet <etix at videolan.org> wrote:
> ---
>  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..5eb557a 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( getSettings(), this );
>  }
>
>  GotoTimeDialog::~GotoTimeDialog()
>  {
> +    QVLCTools::saveWidgetPosition( getSettings(), this );
>  }
>
>  void GotoTimeDialog::toggleVisible()
> --
> 1.7.10.3
>

This patch is wrong, please ignore.

Best regards,
-- Ludovic Fauvet



More information about the vlc-devel mailing list