Fix QML Connections-using code for Qt 5.12

This commit is contained in:
miruka
2020-09-16 08:21:51 -04:00
parent 82fc447a73
commit 60a57db33e
14 changed files with 22 additions and 34 deletions

View File

@@ -191,12 +191,8 @@ HRowLayout {
Connections {
target: eventList
function onCheckedChanged() {
contentLabel.deselect()
}
function onDelegateWithSelectedTextChanged() {
onCheckedChanged: contentLabel.deselect()
onDelegateWithSelectedTextChanged: {
if (eventList.delegateWithSelectedText !== model.id)
contentLabel.deselect()
}

View File

@@ -576,7 +576,7 @@ Rectangle {
Connections {
target: pageLoader
function onRecycled() { eventList.moreToLoad = true }
onRecycled: eventList.moreToLoad = true
}
}