mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
Remove unused updatesegment option from updater query.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
e5c2c8fd96
commit
13b7c539e2
1 changed files with 1 additions and 4 deletions
|
@ -99,10 +99,7 @@ QUrlQuery Updater::getQueryParams()
|
|||
query.addQueryItem(QStringLiteral("buildArch"), QSysInfo::buildCpuArchitecture());
|
||||
query.addQueryItem(QStringLiteral("currentArch"), QSysInfo::currentCpuArchitecture());
|
||||
query.addQueryItem(QStringLiteral("versionsuffix"), Theme::instance()->versionSuffix());
|
||||
|
||||
ConfigFile config;
|
||||
query.addQueryItem(QStringLiteral("channel"), config.currentUpdateChannel());
|
||||
query.addQueryItem(QLatin1String("updatesegment"), QString::number(config.updateSegment()));
|
||||
query.addQueryItem(QStringLiteral("channel"), ConfigFile().currentUpdateChannel());
|
||||
|
||||
return query;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue