diff options
author | Topi Reinio <topi.reinio@qt.io> | 2023-02-11 00:22:31 +0000 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2023-06-05 07:31:13 +0000 |
commit | 345a612894a561846edba3b28b5f743653a23d12 (patch) | |
tree | 9538c64fb234581f4773b25014ee6d2e324c9ab1 | |
parent | 814ac6af61e3708503f8856672254454c9c959b9 (diff) |
Remove QDoc-specific workaround
QDoc is now able to parse the property correctly, no need for the
workaround.
Pick-to: 6.6 6.5
Change-Id: I42931a7be21fd55373477dffc28ff61290736f40
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r-- | src/compositor/extensions/qwaylandxdgshell.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshell.h b/src/compositor/extensions/qwaylandxdgshell.h index 3f0f035b0..bc794c9c3 100644 --- a/src/compositor/extensions/qwaylandxdgshell.h +++ b/src/compositor/extensions/qwaylandxdgshell.h @@ -125,12 +125,8 @@ class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandXdgToplevel : public QObject Q_PROPERTY(bool fullscreen READ fullscreen NOTIFY fullscreenChanged) Q_PROPERTY(bool resizing READ resizing NOTIFY resizingChanged) Q_PROPERTY(bool activated READ activated NOTIFY activatedChanged) -// QDoc fails to parse the property type that includes the keyword 'enum' -#ifndef Q_QDOC Q_PROPERTY(enum DecorationMode decorationMode READ decorationMode NOTIFY decorationModeChanged) -#else - Q_PROPERTY(DecorationMode decorationMode READ decorationMode NOTIFY decorationModeChanged) -#endif + public: enum State : uint { MaximizedState = 1, |