Commit 6aaf1e0c authored by Uwe L. Korn's avatar Uwe L. Korn Committed by Tristan Matthews

qt4: Define Q_DECL_OVERRIDE for Qt4

Signed-off-by: default avatarTristan Matthews <le.businessman@gmail.com>
parent 243c5854
......@@ -43,6 +43,11 @@
#define HAS_QT47 ( QT_VERSION >= 0x040700 )
#define HAS_QT5 ( QT_VERSION >= 0x050000 )
/* Q_DECL_OVERRIDE is a Qt5 feature, add empty define to not break with Qt4 */
#if !HAS_QT5 && !defined(Q_DECL_OVERRIDE)
# define Q_DECL_OVERRIDE
#endif
enum {
DialogEventTypeOffset = 0,
IMEventTypeOffset = 100,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment