summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-08 14:45:12 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-09 06:40:21 +0000
commita473103734c8556b8c381910132184d6309c42d1 (patch)
tree4137b296ec800bca2dbcec10c3ed05d5c0dc05a7
parent49e2746e16d481e753cb1858f92aaf653210cb34 (diff)
downloadqtbase-a473103734c8556b8c381910132184d6309c42d1.tar.gz
doc: Remove undef of Q_GADGET
Someone, almost certainly this writer, undefed Q_GADGET for qdoc, but this was a mistake that caused clang to report a lot of errors for undefined variable. The undef of Q_GADGET is now removed. Change-Id: I39fb09443110b60bbcb16cf350f38c1eac773d8a Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/corelib/kernel/qobjectdefs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/corelib/kernel/qobjectdefs.h b/src/corelib/kernel/qobjectdefs.h
index bc77c136e3..d7ed2b0282 100644
--- a/src/corelib/kernel/qobjectdefs.h
+++ b/src/corelib/kernel/qobjectdefs.h
@@ -240,11 +240,6 @@ private: \
#define Q_SLOT Q_SLOT
#endif //Q_MOC_RUN
-#ifdef Q_CLANG_QDOC
-#undef Q_GADGET
-#define Q_GADGET
-#endif
-
#ifndef QT_NO_META_MACROS
// macro for onaming members
#ifdef METHOD