[vlc-devel] [PATCH] Qt: Do not use Q_DECL_OVERRIDE macro with qt4

Gilles Sabourin gilles.sabourin at free.fr
Sat Dec 17 15:38:08 CET 2016


	Warning: this patch should only be applied to 2.2 maintenance branch
	since Q_DECL_OVERRIDE macro was introduced in Qt 5.0
---
 modules/gui/qt4/dialogs/epg.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/dialogs/epg.hpp b/modules/gui/qt4/dialogs/epg.hpp
index 10c3ff1..9efabbb 100644
--- a/modules/gui/qt4/dialogs/epg.hpp
+++ b/modules/gui/qt4/dialogs/epg.hpp
@@ -37,7 +37,7 @@ class EpgDialog : public QVLCFrame, public Singleton<EpgDialog>
 {
     Q_OBJECT
 protected:
-    virtual void showEvent(QShowEvent * event) Q_DECL_OVERRIDE;
+    virtual void showEvent(QShowEvent * event);
 
 private:
     EpgDialog( intf_thread_t * );
-- 
2.1.4



More information about the vlc-devel mailing list