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>
This commit is contained in:
Martin Smith 2018-01-08 14:45:12 +01:00
parent 49e2746e16
commit a473103734

View File

@ -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