mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +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("buildArch"), QSysInfo::buildCpuArchitecture());
|
||||||
query.addQueryItem(QStringLiteral("currentArch"), QSysInfo::currentCpuArchitecture());
|
query.addQueryItem(QStringLiteral("currentArch"), QSysInfo::currentCpuArchitecture());
|
||||||
query.addQueryItem(QStringLiteral("versionsuffix"), Theme::instance()->versionSuffix());
|
query.addQueryItem(QStringLiteral("versionsuffix"), Theme::instance()->versionSuffix());
|
||||||
|
query.addQueryItem(QStringLiteral("channel"), ConfigFile().currentUpdateChannel());
|
||||||
ConfigFile config;
|
|
||||||
query.addQueryItem(QStringLiteral("channel"), config.currentUpdateChannel());
|
|
||||||
query.addQueryItem(QLatin1String("updatesegment"), QString::number(config.updateSegment()));
|
|
||||||
|
|
||||||
return query;
|
return query;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue