summaryrefslogtreecommitdiff
path: root/src/compositor
diff options
context:
space:
mode:
authorJiDe Zhang <zhangjide@uniontech.com>2021-03-25 17:25:53 +0800
committerJiDe Zhang <zhangjide@uniontech.com>2021-04-12 16:11:43 +0800
commit70cce0234c166a907c8ae13fc007f728d1ed5742 (patch)
tree6400baf12a2c85bd4e1e707486baa64f810f7168 /src/compositor
parent3b716a204a0f05f72c1bfae4b75e5130a591b513 (diff)
downloadqtwayland-70cce0234c166a907c8ae13fc007f728d1ed5742.tar.gz
Clean Q_ENUMS
The Q_ENUMS macro is obsolete, and QWaylandOutput has contains "Q_ENUM(Subpixel)" and "Q_ENUM(Transform)", so should remove the "Q_ENUMS(Subpixel Transform)". Change-Id: I2c0c58922fa76e46aeeafc198d3b7a9b6ff5127b Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/compositor')
-rw-r--r--src/compositor/compositor_api/qwaylandoutput.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandoutput.h b/src/compositor/compositor_api/qwaylandoutput.h
index d8cc18da..bf47a25d 100644
--- a/src/compositor/compositor_api/qwaylandoutput.h
+++ b/src/compositor/compositor_api/qwaylandoutput.h
@@ -68,7 +68,6 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandOutput : public QWaylandObject
Q_PROPERTY(QWaylandOutput::Transform transform READ transform WRITE setTransform NOTIFY transformChanged)
Q_PROPERTY(int scaleFactor READ scaleFactor WRITE setScaleFactor NOTIFY scaleFactorChanged)
Q_PROPERTY(bool sizeFollowsWindow READ sizeFollowsWindow WRITE setSizeFollowsWindow NOTIFY sizeFollowsWindowChanged)
- Q_ENUMS(Subpixel Transform)
QML_NAMED_ELEMENT(WaylandOutputBase)
QML_ADDED_IN_VERSION(1, 0)