aboutsummaryrefslogtreecommitdiff
path: root/lib/quotient_common.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-20 11:42:21 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-21 07:07:00 +0100
commit52e640bce5a8931330fa6d653212e524e7baa2eb (patch)
treeff1c0b21a1ebaf6ff22cc496fc39cca524d1964b /lib/quotient_common.h
parent02fa42b8ac5694485c7f6dedc62a873e97da2d35 (diff)
downloadlibquotient-52e640bce5a8931330fa6d653212e524e7baa2eb.tar.gz
libquotient-52e640bce5a8931330fa6d653212e524e7baa2eb.zip
Minor brushup in the comment to QUO_DECLARE_FLAGS
[skip ci]
Diffstat (limited to 'lib/quotient_common.h')
-rw-r--r--lib/quotient_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/quotient_common.h b/lib/quotient_common.h
index 969ebe90..d91c3d17 100644
--- a/lib/quotient_common.h
+++ b/lib/quotient_common.h
@@ -9,10 +9,10 @@
// See https://bugreports.qt.io/browse/QTBUG-82295 - despite the comment that
// Q_FLAG[_NS] "should" be applied to the enum only, Qt doesn't allow to wrap
-// a flag type into a QVariant then. The macros below define Q_FLAG_NS and on
-// top of that add a part of Q_ENUM() that enables the metatype data but goes
-// under the moc radar to avoid double registration of the same data in the map
-// defined in moc_*.cpp
+// a flag type into a QVariant then. The macros below define Q_FLAG[_NS] and on
+// top of that add Q_ENUM[_NS]_IMPL which is a part of Q_ENUM() macro that
+// enables the metatype data but goes under the moc radar to avoid double
+// registration of the same data in the map defined in moc_*.cpp
#define QUO_DECLARE_FLAGS(Flags, Enum) \
Q_DECLARE_FLAGS(Flags, Enum) \
Q_ENUM_IMPL(Enum) \