mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
Fix infinite recursion caused by default value call in desktopEnterpriseChannel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
08df1c444f
commit
c475edafd1
1 changed files with 1 additions and 1 deletions
|
@ -1216,7 +1216,7 @@ void ConfigFile::setServerHasValidSubscription(const bool valid)
|
||||||
QString ConfigFile::desktopEnterpriseChannel() const
|
QString ConfigFile::desktopEnterpriseChannel() const
|
||||||
{
|
{
|
||||||
QSettings settings(configFile(), QSettings::IniFormat);
|
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)
|
void ConfigFile::setDesktopEnterpriseChannel(const QString &channel)
|
||||||
|
|
Loading…
Reference in a new issue