Fix Connections deprecation warning on Qt 5.15
Adopt the correct behavior to get rid of "QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }"
This commit is contained in:
@@ -199,8 +199,10 @@ HListView {
|
||||
|
||||
Connections {
|
||||
target: pageLoader
|
||||
onPreviousShown:
|
||||
|
||||
function onPreviousShown(componentUrl, properties) {
|
||||
if (setCorrectCurrentItem() === false) startCorrectItemSearch()
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
|
Reference in New Issue
Block a user