Skip to content

Commit

Permalink
Remove unused updatesegment option from updater query.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Jul 3, 2024
1 parent e5c2c8f commit 13b7c53
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/gui/updater/updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 13b7c53

Please sign in to comment.