Port away from implicitly defined onFoo properties in Connections
This commit is contained in:
@@ -111,7 +111,9 @@ RowLayout {
|
||||
}
|
||||
Connections {
|
||||
target: replyLoader.item
|
||||
onClicked: replyClicked(reply.eventId)
|
||||
function onClicked() {
|
||||
replyClicked(reply.eventId)
|
||||
}
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
|
||||
@@ -72,7 +72,7 @@ Kirigami.ScrollablePage {
|
||||
|
||||
Connections {
|
||||
target: Controller
|
||||
onErrorOccured: {
|
||||
function onErrorOccured(error, detail) {
|
||||
inlineMessage.type = Kirigami.MessageType.Error;
|
||||
if (detail && detail.length !== 0) {
|
||||
inlineMessage.text = i18n("%1: %2", error, detail);
|
||||
|
||||
Reference in New Issue
Block a user