summaryrefslogtreecommitdiffstats
path: root/plugin/cursornavigation.cpp
diff options
context:
space:
mode:
authorAntti Hoelttae <ahoelttae@luxoft.com>2019-03-11 08:45:16 -0700
committerAntti Hölttä <AHoelttae@luxoft.com>2019-03-18 16:43:04 +0100
commit4b5670aad31bd066abfbc62354a8b91796d7183a (patch)
tree8892cdf34f332959f453307bee0e210c520e5537 /plugin/cursornavigation.cpp
parent13427797da2464f60412b80b2ad2c4559fc63711 (diff)
Reparenting test
Diffstat (limited to 'plugin/cursornavigation.cpp')
-rw-r--r--plugin/cursornavigation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/cursornavigation.cpp b/plugin/cursornavigation.cpp
index e069efc..00a1af0 100644
--- a/plugin/cursornavigation.cpp
+++ b/plugin/cursornavigation.cpp
@@ -137,6 +137,7 @@ CursorNavigationAttached *CursorNavigation::qmlAttachedProperties(QObject *objec
// TODO: what if an object, with an already attached object, gets reparented (say, in another window?)
// with or without a focus system.
+ qWarning() << "Created a new CN attachment";
return new CursorNavigationAttached(item);
}
@@ -149,6 +150,7 @@ CursorNavigation *CursorNavigation::cursorNavigationForWindow(QQuickWindow *wind
if (!oldCursorNavigation.isNull())
return oldCursorNavigation.value<CursorNavigation *>();
+ qWarning() << "Created a new CN engine";
CursorNavigation *cursorNavigation = new CursorNavigation(window);
window->setProperty(windowPropertyName, QVariant::fromValue(cursorNavigation));