summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/snippets
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-04-19 11:45:08 +0200
committerLars Knoll <lars.knoll@qt.io>2021-04-19 11:10:25 +0000
commitd1580898894b58c6d907cdbee8c76bf4382cd897 (patch)
tree2c3fbd113e8f0ec4c9787ef3795b2b6de3933a6a /examples/multimedia/video/snippets
parent55af31312a00f518b5f5aab228dcc0ede55dfeaf (diff)
Fix QML runtime warnings
Stop using deprecated syntax. Change-Id: Ic5f4c0a9a3737a61283eb147a9d2323f4de6771a Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/video/snippets')
-rw-r--r--examples/multimedia/video/snippets/performancemonitor/qml/performancemonitor/PerformanceItem.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/video/snippets/performancemonitor/qml/performancemonitor/PerformanceItem.qml b/examples/multimedia/video/snippets/performancemonitor/qml/performancemonitor/PerformanceItem.qml
index 288fb2f08..5621450cb 100644
--- a/examples/multimedia/video/snippets/performancemonitor/qml/performancemonitor/PerformanceItem.qml
+++ b/examples/multimedia/video/snippets/performancemonitor/qml/performancemonitor/PerformanceItem.qml
@@ -81,7 +81,7 @@ Rectangle {
Connections {
id: videoFrameRateActiveConnections
ignoreUnknownSignals: true
- onActiveChanged: root.videoActive = videoFrameRateActiveConnections.target.active
+ function onActiveChanged() { root.videoActive = videoFrameRateActiveConnections.target.active }
}
states: [