Qt4 - FIX compilation when --enable-update-check isn't enabled...
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Dec 2007 05:46:26 +0000 (05:46 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Dec 2007 05:46:26 +0000 (05:46 +0000)
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.hpp

index 326ea1d..85b2e8d 100644 (file)
@@ -172,12 +172,12 @@ void DialogsProvider::helpDialog()
     HelpDialog::getInstance( p_intf )->toggleVisible();
 }
 
-#ifdef UPDATE_CHECK
 void DialogsProvider::updateDialog()
 {
+#ifdef UPDATE_CHECK
     UpdateDialog::getInstance( p_intf )->toggleVisible();
-}
 #endif
+}
 
 void DialogsProvider::aboutDialog()
 {
index 2d3533b..f7d6989 100644 (file)
@@ -146,9 +146,7 @@ public slots:
     void messagesDialog();
     void vlmDialog();
     void helpDialog();
-#ifdef UPDATE_CHECK
     void updateDialog();
-#endif
     void aboutDialog();
     void gotoTimeDialog();
     void podcastConfigureDialog();