[graphics/drawy] src/gui/item: Use Q_ENUM

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 86783e16615280ad486874cd014a606963000fe0 by Laurent Montel.
Committed on 29/07/2026 at 05:22.
Pushed by mlaurent into branch 'master'.

Use Q_ENUM

M  +1    -0    src/gui/item/item.hpp

https://invent.kde.org/graphics/drawy/-/commit/86783e16615280ad486874cd014a606963000fe0

diff --git a/src/gui/item/item.hpp b/src/gui/item/item.hpp
index ec15a4ad..fa4c8255 100644
--- a/src/gui/item/item.hpp
+++ b/src/gui/item/item.hpp
@@ -70,6 +70,7 @@ public:
         Rounded,
         Pointed,
     };
+    Q_ENUM(CornerRectangleType)
 
     [[nodiscard]] virtual FormType formType() const = 0;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.