summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-10-05 08:44:50 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-10-05 09:06:04 +0200
commitcfef774fb4036b2289c8b7a5d7fb361c722dad48 (patch)
tree8a17eb3763d63148a9ce387b06432db7c30c7561
parentcab51443ed9246c14255dcb295764f4d15cffaa1 (diff)
downloadqtwayland-cfef774fb4036b2289c8b7a5d7fb361c722dad48.tar.gz
Change WaylandResource -> waylandresource
This is an uncreatable type which is used for parameters to signals. Since it is a value-type, it should be lowercase by convention, and the QML engine recently began enforcing this. [ChangeLog][QtWaylandCompositor] Changed the name of WaylandResource to waylandresource as per QML convention. Change-Id: I342ca70192d6276a6d8ac72b8e9f7e46af41ca2c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/compositor/compositor_api/qwaylandresource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandresource.h b/src/compositor/compositor_api/qwaylandresource.h
index 08642f0d..6532804b 100644
--- a/src/compositor/compositor_api/qwaylandresource.h
+++ b/src/compositor/compositor_api/qwaylandresource.h
@@ -41,7 +41,7 @@ QT_BEGIN_NAMESPACE
class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandResource
{
Q_GADGET
- QML_NAMED_ELEMENT(WaylandResource)
+ QML_NAMED_ELEMENT(waylandresource)
QML_UNCREATABLE("")
QML_ADDED_IN_VERSION(1, 0)
public: