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:
miruka
2020-06-22 14:11:56 -04:00
parent ae37e13c6e
commit ad36fc72f4
5 changed files with 16 additions and 6 deletions

View File

@@ -71,8 +71,9 @@ MultiviewPane {
Connections {
target: swipeView
onCurrentItemChanged:
function onCurrentItemChanged() {
swipeView.currentItem.keybindFocusItem.forceActiveFocus()
}
}
MemberView {}