revert [23722]
authorRafaël Carré <funman@videolan.org>
Thu, 20 Dec 2007 00:48:39 +0000 (00:48 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 20 Dec 2007 00:48:39 +0000 (00:48 +0000)
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.hpp

index 9236f60..dcebe33 100644 (file)
@@ -27,6 +27,7 @@
 #include <QSignalMapper>
 #include <QFileDialog>
 
+#include <vlc/vlc.h>
 #include "qt4.hpp"
 #include "dialogs_provider.hpp"
 #include "main_interface.hpp"
@@ -126,8 +127,10 @@ void DialogsProvider::customEvent( QEvent *event )
            QVLCMenu::MiscPopupMenu( p_intf ); break;
         case INTF_DIALOG_WIZARD:
         case INTF_DIALOG_STREAMWIZARD:
+#ifdef UPDATE_CHECK
         case INTF_DIALOG_UPDATEVLC:
             updateDialog(); break;
+#endif
         case INTF_DIALOG_EXIT:
         default:
            msg_Warn( p_intf, "unimplemented dialog" );
@@ -173,12 +176,12 @@ void DialogsProvider::helpDialog()
     HelpDialog::getInstance( p_intf )->toggleVisible();
 }
 
+#ifdef UPDATE_CHECK
 void DialogsProvider::updateDialog()
 {
-#ifdef UPDATE_CHECK
     UpdateDialog::getInstance( p_intf )->toggleVisible();
-#endif
 }
+#endif
 
 void DialogsProvider::aboutDialog()
 {
index f7d6989..2d3533b 100644 (file)
@@ -146,7 +146,9 @@ public slots:
     void messagesDialog();
     void vlmDialog();
     void helpDialog();
+#ifdef UPDATE_CHECK
     void updateDialog();
+#endif
     void aboutDialog();
     void gotoTimeDialog();
     void podcastConfigureDialog();