mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-26 17:28:36 +00:00
Fix LDAP crash and stuck assistant.
This commit is contained in:
parent
f06f4ad6d6
commit
35d90ceb78
2 changed files with 9 additions and 3 deletions
|
|
@ -507,7 +507,11 @@ QString AccountSettingsModel::getPrimarySipAddress () const {
|
|||
}
|
||||
|
||||
QString AccountSettingsModel::getDefaultAccountDomain() const{
|
||||
return Utils::coreStringToAppString(CoreManager::getInstance()->getCore()->getDefaultAccount()->getParams()->getDomain());
|
||||
auto account = CoreManager::getInstance()->getCore()->getDefaultAccount();
|
||||
if(account)
|
||||
return Utils::coreStringToAppString(account->getParams()->getDomain());
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -138,12 +138,14 @@ ColumnLayout {
|
|||
append({
|
||||
$text: qsTr('useOtherSipAccount'),
|
||||
$view: 'UseOtherSipAccount',
|
||||
$viewType: 'UseOtherSipAccount'
|
||||
$viewType: 'UseOtherSipAccount',
|
||||
$props: {}
|
||||
})
|
||||
append( {
|
||||
$text: qsTr('fetchRemoteConfiguration'),
|
||||
$view: 'FetchRemoteConfiguration',
|
||||
$viewType: 'FetchRemoteConfiguration'
|
||||
$viewType: 'FetchRemoteConfiguration',
|
||||
$props: {}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue