mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
revert
This commit is contained in:
parent
c1f0cd381a
commit
edaebf9042
2 changed files with 5 additions and 7 deletions
|
|
@ -83,7 +83,7 @@ void AccountList::setSelf(QSharedPointer<AccountList> me) {
|
|||
} else mModelConnection->invokeToCore([this]() { setDefaultAccount(nullptr); });
|
||||
});
|
||||
mModelConnection->makeConnectToModel(&CoreModel::accountRemoved, [this] { emit lUpdate(); });
|
||||
mModelConnection->makeConnectToModel(&CoreModel::accountAdded, [this] { emit lUpdate(); });
|
||||
mModelConnection->makeConnectToModel(&CoreModel::accountAdded, [this] { emit lUpdate(true); });
|
||||
|
||||
mModelConnection->makeConnectToModel(
|
||||
&CoreModel::globalStateChanged,
|
||||
|
|
|
|||
|
|
@ -123,10 +123,6 @@ AbstractWindow {
|
|||
id: mainWindowStackView
|
||||
anchors.fill: parent
|
||||
initialItem: splashScreen
|
||||
Component.onCompleted: {
|
||||
clear()
|
||||
push(splashScreen)
|
||||
}
|
||||
}
|
||||
Component {
|
||||
id: splashScreen
|
||||
|
|
@ -158,7 +154,8 @@ AbstractWindow {
|
|||
onGoBack: openMainPage()
|
||||
onUseSIPButtonClicked: mainWindowStackView.push(sipLoginPage)
|
||||
onGoToRegister: mainWindowStackView.replace(registerPage)
|
||||
showBackButton: mainWindow.accountProxy?.haveAccount || false
|
||||
showBackButton: false
|
||||
StackView.onActivated: if (mainWindow.accountProxy?.haveAccount) showBackButton = true
|
||||
}
|
||||
}
|
||||
Component {
|
||||
|
|
@ -172,7 +169,8 @@ AbstractWindow {
|
|||
mainWindowStackView.pop()
|
||||
}
|
||||
onGoToRegister: mainWindowStackView.replace(registerPage)
|
||||
showBackButton: !SettingsCpp.assistantGoDirectlyToThirdPartySipAccountLogin || mainWindow.accountProxy?.haveAccount
|
||||
showBackButton: false
|
||||
StackView.onActivated: if (!SettingsCpp.assistantGoDirectlyToThirdPartySipAccountLogin || mainWindow.accountProxy?.haveAccount) showBackButton = true
|
||||
}
|
||||
}
|
||||
Component {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue