summaryrefslogtreecommitdiffstats
path: root/src/window-lib
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2024-04-27 14:16:00 +0200
committerRobert Griebl <robert.griebl@qt.io>2024-05-14 23:38:30 +0200
commitd808d85013ad21b969e3b6e545986716772b5fc5 (patch)
treef1dc321df4167cb156405bbf736239943f0a6c02 /src/window-lib
parent055ee28b235cff35e6cb6620e343c98ac2287fc1 (diff)
Refactor the ApplicationInterface root context property
In order to support full QML tooling, the root context property had to go. It is now replaced by a QML attached type of the same name, which for all intents and purposes acts exactly like the old root context property. There's a big difference implementation wise though: we can now have multiple ApplicationInterface objects, but their internal ApplicationInterfaceImpl objects point to the actual per-application data. Fixes: QTBUG-118426 Change-Id: I784eec946ab26e50df1d76364f5dc842bc1b3bed Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'src/window-lib')
-rw-r--r--src/window-lib/windowmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-lib/windowmanager.cpp b/src/window-lib/windowmanager.cpp
index d743f3ea..751d6039 100644
--- a/src/window-lib/windowmanager.cpp
+++ b/src/window-lib/windowmanager.cpp
@@ -235,7 +235,7 @@ WindowManager *WindowManager::createInstance(QQmlEngine *qmlEngine, const QStrin
QQuickItem *attacheeItem) {
return new QmlInProcApplicationManagerWindowAttachedImpl(windowAttached, attacheeItem);
});
- SystemFrameTimerImpl::setFactory([](FrameTimer *frameTimer) {
+ FrameTimerImpl::setFactory([](FrameTimer *frameTimer) {
return new SystemFrameTimerImpl(frameTimer);
});