Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-09-15 13:04:37 +0300
committerHannah von Reth <vonreth@kde.org>2020-09-15 14:48:16 +0300
commite1615d6af0447a9c78b64ff88e390aa64c9b1ac6 (patch)
tree6d02520a9d27298adda2325d327ef172477ef074 /src
parentbebde17e9fa49a516fd1b9e55c33734bede205db (diff)
Include architecture in updater query
Fixes: #8074
Diffstat (limited to 'src')
-rw-r--r--src/gui/updater/updater.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/updater/updater.cpp b/src/gui/updater/updater.cpp
index 358da1561..09fdde0d1 100644
--- a/src/gui/updater/updater.cpp
+++ b/src/gui/updater/updater.cpp
@@ -88,6 +88,8 @@ QUrlQuery Updater::getQueryParams()
query.addQueryItem(QStringLiteral("version"), clientVersion());
query.addQueryItem(QStringLiteral("platform"), platform);
query.addQueryItem(QStringLiteral("oem"), theme->appName());
+ query.addQueryItem(QStringLiteral("buildArch"), QSysInfo::buildCpuArchitecture());
+ query.addQueryItem(QStringLiteral("currentArch"), QSysInfo::currentCpuArchitecture());
QString suffix = QStringLiteral(MIRALL_STRINGIFY(MIRALL_VERSION_SUFFIX));
query.addQueryItem(QStringLiteral("versionsuffix"), suffix);