summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/frame-timer/system-ui
diff options
context:
space:
mode:
authorBernd Weimer <bernd.weimer@pelagicore.com>2020-03-13 17:53:13 +0100
committerBernd Weimer <bernd.weimer@pelagicore.com>2020-05-27 14:08:28 +0000
commitdf0d5e4730a85fd7ce13d10aced5fdb3ae7feef9 (patch)
tree23faf7bb0bd94b062ac00a2c6d5dd5641c9408c4 /examples/applicationmanager/frame-timer/system-ui
parent042476a1c1d18c5838791fc71e6dbb1d0d7e8b4e (diff)
Define functions in QML Connections explicitly
Don't use implicitly defined handler, since this is deprecated from Qt 5.15. This works since Qt 5.14 only, but we are tied to 5.15, anyways. Change-Id: I82e66b0c6186237757e060bfb21d86c91ec8498b Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples/applicationmanager/frame-timer/system-ui')
-rw-r--r--examples/applicationmanager/frame-timer/system-ui/main.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/applicationmanager/frame-timer/system-ui/main.qml b/examples/applicationmanager/frame-timer/system-ui/main.qml
index b95cec1d..22d1c454 100644
--- a/examples/applicationmanager/frame-timer/system-ui/main.qml
+++ b/examples/applicationmanager/frame-timer/system-ui/main.qml
@@ -286,7 +286,9 @@ Window {
// Populates the windowsModel
Connections {
target: WindowManager
- onWindowAdded: windowsModel.append({"window":window})
+ function onWindowAdded(window) {
+ windowsModel.append({"window":window})
+ }
}
}
}