summaryrefslogtreecommitdiffstats
path: root/src/window-lib
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-02-11 12:44:59 +0100
committerRobert Griebl <robert.griebl@qt.io>2022-02-11 12:58:43 +0100
commit783ea24f6cdb6c714fafde97aa1abf400578d3ca (patch)
tree2cd2ae70405b40ad61a01f6549e6ba53b1755444 /src/window-lib
parent8c816afd143edeac4feeec6ed6b17cb1e1859ef3 (diff)
Fix broken plugins.qmltypes
The AM was registering "Window" instead of "WindowObject", essentially overwriting the registration for the "Window" in QtDeclarative. Change-Id: Ie0bb04735cb56ad0aaa200793f1cac289ad607e1 Pick-to: 6.3 6.2 5.15 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
Diffstat (limited to 'src/window-lib')
-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 02eeb259..5e220b6a 100644
--- a/src/window-lib/window.h
+++ b/src/window-lib/window.h
@@ -51,7 +51,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)