From 52e640bce5a8931330fa6d653212e524e7baa2eb Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Sat, 20 Nov 2021 11:42:21 +0100 Subject: Minor brushup in the comment to QUO_DECLARE_FLAGS [skip ci] --- lib/quotient_common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/quotient_common.h') 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) \ -- cgit v1.2.3