aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-03-01 21:04:19 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-03-02 17:14:31 +0000
commit03dcd24435ae3f5f4ca633e84373bdd18300928c (patch)
tree39ed7d8377aaa3cc11bc0b22da3526ab7e24b547
parentc21a2eda4d861e7908f8ba6143ba82d84fdad99e (diff)
qquickstyleitem: Fix Q_ENUM/Q_FLAG confusion
Change-Id: I0e5cf9ce1b905bef2db51dc605232e3bd9f7baf3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit 8a632d25f293430d30b642b83f36e8b2ed657ac1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/quicknativestyle/items/qquickstyleitem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicknativestyle/items/qquickstyleitem.h b/src/quicknativestyle/items/qquickstyleitem.h
index f65e5268bf..108f080c92 100644
--- a/src/quicknativestyle/items/qquickstyleitem.h
+++ b/src/quicknativestyle/items/qquickstyleitem.h
@@ -208,8 +208,8 @@ public:
NinePatchMargins = 0x100,
SaveImage = 0x200,
};
- Q_FLAG(DebugFlag)
Q_DECLARE_FLAGS(DebugFlags, DebugFlag)
+ Q_FLAG(DebugFlags)
#endif
explicit QQuickStyleItem(QQuickItem *parent = nullptr);