mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-06 20:23:08 +00:00
Fix a crash from bellesip on version checker when using a URL that contains spaces.
This commit is contained in:
parent
c49fee7e68
commit
773c70923f
1 changed files with 2 additions and 1 deletions
|
|
@ -1389,7 +1389,8 @@ QString SettingsModel::getVersionCheckUrl() const{
|
|||
|
||||
void SettingsModel::setVersionCheckUrl(const QString& url){
|
||||
if( url != getVersionCheckUrl()){
|
||||
mConfig->setString("misc", "version_check_url_root", Utils::appStringToCoreString(url));
|
||||
// Do not trim the url before because we want to update GUI from potential auto fix.
|
||||
mConfig->setString("misc", "version_check_url_root", Utils::appStringToCoreString(url.trimmed()));
|
||||
if( url == Constants::VersionCheckReleaseUrl)
|
||||
setVersionCheckType(VersionCheckType_Release);
|
||||
else if( url == Constants::VersionCheckNightlyUrl)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue