Port away from onFoo in Connections

This commit is contained in:
Tobias Fella
2021-09-20 22:57:29 +02:00
parent da7b3a1ea9
commit 50040230f5
4 changed files with 11 additions and 5 deletions

View File

@@ -19,10 +19,12 @@ LoginStep {
Kirigami.FormLayout {
Connections {
target: LoginHelper
onSsoUrlChanged: {
function onSsoUrlChanged() {
Qt.openUrlExternally(LoginHelper.ssoUrl)
}
onConnected: processed("qrc:/imports/NeoChat/Component/Login/Loading.qml")
function onConnected() {
processed("qrc:/imports/NeoChat/Component/Login/Loading.qml")
}
}
QQC2.Button {