From 03dcd24435ae3f5f4ca633e84373bdd18300928c Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Tue, 1 Mar 2022 21:04:19 +0100 Subject: qquickstyleitem: Fix Q_ENUM/Q_FLAG confusion Change-Id: I0e5cf9ce1b905bef2db51dc605232e3bd9f7baf3 Reviewed-by: Mitch Curtis (cherry picked from commit 8a632d25f293430d30b642b83f36e8b2ed657ac1) Reviewed-by: Qt Cherry-pick Bot --- src/quicknativestyle/items/qquickstyleitem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3