[vlc-devel] commit: Force dialog to be shown when automatic updates are made. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Jun 25 00:32:35 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 24 15:34:21 2008 -0700| [14440202e06ef7a26a50abbc32a0d5c3bc0d1140]

Force dialog to be shown when automatic updates are made.

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

 modules/gui/qt4/dialogs/help.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp
index df020a4..24b2820 100644
--- a/modules/gui/qt4/dialogs/help.cpp
+++ b/modules/gui/qt4/dialogs/help.cpp
@@ -292,6 +292,9 @@ void UpdateDialog::updateNotify( bool b_result )
             updateButton->setText( "Download" );
             updateLabel->setText( qtr( "There is a new version of VLC :\n" )
                                 + qfu( p_release->psz_desc )  );
+
+            /* Force the dialog to be shown */
+            this->show();
         }
         else
             updateLabel->setText( qtr( "You have the latest version of VLC" ) );




More information about the vlc-devel mailing list