[vlc-commits] Qt: fix compilation in case of updateCheck

Jean-Baptiste Kempf git at videolan.org
Sat Jun 9 23:34:00 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun  9 23:31:17 2012 +0200| [c379f9e15c4d7a24d1209962e9957a3f5559a9a5] | committer: Jean-Baptiste Kempf

Qt: fix compilation in case of updateCheck

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

 modules/gui/qt4/dialogs/help.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp
index af5ad5f..78b03e2 100644
--- a/modules/gui/qt4/dialogs/help.cpp
+++ b/modules/gui/qt4/dialogs/help.cpp
@@ -178,7 +178,7 @@ UpdateDialog::UpdateDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
     setMinimumSize( 300, 300 );
     setMaximumSize( 400, 300 );
 
-    readSettings( "Update", QSize( 300, 250 ) );
+    restoreWidgetPosition( "Update", QSize( 300, 250 ) );
 
     /* Check for updates */
     UpdateOrDownload();
@@ -187,7 +187,7 @@ UpdateDialog::UpdateDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 UpdateDialog::~UpdateDialog()
 {
     update_Delete( p_update );
-    writeSettings( "Update" );
+    saveWidgetPosition( "Update" );
 }
 
 /* Check for updates */



More information about the vlc-commits mailing list