[vlc-commits] [Git][videolan/vlc][master] qt: fix compilation with --disable-update-check
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Oct 15 06:32:08 UTC 2021
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
568aba0b by Steve Lhomme at 2021-10-15T06:14:49+00:00
qt: fix compilation with --disable-update-check
The "ifdef" doesn't seem to be taken in account. It's as if the define was
always set. Now that the define is properly used we need to pass it to moc.
- - - - -
2 changed files:
- modules/gui/qt/dialogs/dialogs_provider.hpp
- modules/gui/qt/dialogs/help/help.hpp
Changes:
=====================================
modules/gui/qt/dialogs/dialogs_provider.hpp
=====================================
@@ -145,7 +145,7 @@ public slots:
void vlmDialog();
#endif
void helpDialog();
-#ifdef UPDATE_CHECK
+#if defined(UPDATE_CHECK)
void updateDialog();
#endif
void aboutDialog();
=====================================
modules/gui/qt/dialogs/help/help.hpp
=====================================
@@ -74,7 +74,7 @@ private slots:
void showCredit();
};
-#ifdef UPDATE_CHECK
+#if defined(UPDATE_CHECK)
class UpdateDialog : public QVLCFrame, public Singleton<UpdateDialog>
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/568aba0b02e803afcbaceff5beece882f10d4fce
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/568aba0b02e803afcbaceff5beece882f10d4fce
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list