Tracing: Fix runtime QML warnings

"QML Connections: Implicitly defined onFoo properties in Connections are
deprecated. Use this syntax instead: function onFoo(<arguments>)"

Change-Id: Idf65152f5aa1b96a739bd41f87893270b9da8e1b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Alessandro Portale
2021-04-28 20:46:54 +02:00
parent 38bbdb7841
commit 15e4ac3377
8 changed files with 12 additions and 12 deletions

View File

@@ -51,12 +51,12 @@ Rectangle {
// ***** connections with external objects
Connections {
target: zoomControl
onRangeChanged: {
function onRangeChanged() {
zoomSliderToolBar.updateZoomLevel();
content.scroll();
selectionRange.update();
}
onWindowChanged: {
function onWindowChanged() {
content.scroll();
}
}