Fix QML Connections-using code for Qt 5.12
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
@@ -576,7 +576,7 @@ Rectangle {
|
||||
|
||||
Connections {
|
||||
target: pageLoader
|
||||
function onRecycled() { eventList.moreToLoad = true }
|
||||
onRecycled: eventList.moreToLoad = true
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user