Commit b1dd3ebd authored by Michael Lang's avatar Michael Lang
Browse files

Update syntax because implicitly defined onFoo properties in Connections are deprecated

parent bbf06092
......@@ -37,7 +37,7 @@ Kirigami.ScrollablePage {
Connections {
target: ChatListModel
onChatStarted: (messageModel) => {
function onChatStarted (messageModel) {
// Don't open two MessagesPages at the same time
if (pageStack.currentItem.hasOwnProperty("messageModel")) {
pageStack.pop()
......@@ -45,7 +45,7 @@ Kirigami.ScrollablePage {
Qt.callLater(pageStack.push, "qrc:/MessagesPage.qml", {"messageModel": messageModel})
}
onChatsFetched: {
function onChatsFetched () {
chatPage.refreshing = false
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment