mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Merge pull request #6963 from nextcloud/bugfix/enterprise-channel-infinite-recursion
Fix infinite recursion caused by default value call in desktopEnterpriseChannel
This commit is contained in:
commit
6dbf41e0e3
1 changed files with 1 additions and 1 deletions
|
@ -1216,7 +1216,7 @@ void ConfigFile::setServerHasValidSubscription(const bool valid)
|
|||
QString ConfigFile::desktopEnterpriseChannel() const
|
||||
{
|
||||
QSettings settings(configFile(), QSettings::IniFormat);
|
||||
return settings.value(QLatin1String(desktopEnterpriseChannelName), defaultUpdateChannel()).toString();
|
||||
return settings.value(QLatin1String(desktopEnterpriseChannelName), defaultUpdateChannelName).toString();
|
||||
}
|
||||
|
||||
void ConfigFile::setDesktopEnterpriseChannel(const QString &channel)
|
||||
|
|
Loading…
Reference in a new issue