Remove unused updatesegment option from updater query.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-07-03 16:20:12 +02:00
parent e5c2c8fd96
commit 13b7c539e2
No known key found for this signature in database
GPG key ID: 7A4A6121E88E2AD4

View file

@ -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;
}