summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-02-11 12:44:59 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-15 21:19:27 +0000
commitdea2080a27e000866a1657914eab0f989b6bea00 (patch)
tree5492059f8e16f8cb37ad625b053a58f577d42124
parent13dcdfad8096ffd888b8968bef3e3cff741ca347 (diff)
downloadqtapplicationmanager-dea2080a27e000866a1657914eab0f989b6bea00.tar.gz
Fix broken plugins.qmltypes
The AM was registering "Window" instead of "WindowObject", essentially overwriting the registration for the "Window" in QtDeclarative. Change-Id: Ie0bb04735cb56ad0aaa200793f1cac289ad607e1 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 783ea24f6cdb6c714fafde97aa1abf400578d3ca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/window-lib/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-lib/window.h b/src/window-lib/window.h
index b6dc7b6f..a3b920a5 100644
--- a/src/window-lib/window.h
+++ b/src/window-lib/window.h
@@ -62,7 +62,7 @@ class WindowItem;
class Window : public QObject
{
Q_OBJECT
- Q_CLASSINFO("AM-QmlType", "QtApplicationManager.SystemUI/Window 2.0 UNCREATABLE")
+ Q_CLASSINFO("AM-QmlType", "QtApplicationManager.SystemUI/WindowObject 2.0 UNCREATABLE")
Q_PROPERTY(QSize size READ size NOTIFY sizeChanged)
Q_PROPERTY(ContentState contentState READ contentState NOTIFY contentStateChanged)