Skip to content
Permalink
Browse files

Use set the 'os' query parameter to 'WinX64' when doing version check…

…s and plugin updates on Windows/amd64.
  • Loading branch information...
mkrautz committed Jul 15, 2014
1 parent cdcf77c commit 769855b46d219d991e0fbf107ee3a8256269f025
Showing with 8 additions and 0 deletions.
  1. +4 −0 src/mumble/Plugins.cpp
  2. +4 −0 src/mumble/VersionCheck.cpp
@@ -500,7 +500,11 @@ void Plugins::checkUpdates() {
QList<QPair<QString, QString> > queryItems;
queryItems << qMakePair(QString::fromUtf8("ver"), QString::fromUtf8(QUrl::toPercentEncoding(QString::fromUtf8(MUMBLE_RELEASE))));
#if defined(Q_OS_WIN)
# if defined(Q_OS_WIN64)
queryItems << qMakePair(QString::fromUtf8("os"), QString::fromUtf8("WinX64"));
# else
queryItems << qMakePair(QString::fromUtf8("os"), QString::fromUtf8("Win32"));
# endif
queryItems << qMakePair(QString::fromUtf8("abi"), QString::fromUtf8(MUMTEXT(_MSC_VER)));
#elif defined(Q_OS_MAC)
# if defined(USE_MAC_UNIVERSAL)
@@ -47,7 +47,11 @@ VersionCheck::VersionCheck(bool autocheck, QObject *p, bool focus) : QObject(p)
queryItems << qMakePair(QString::fromLatin1("date"), QString::fromLatin1(QUrl::toPercentEncoding(QLatin1String(__DATE__))));
queryItems << qMakePair(QString::fromLatin1("time"), QString::fromLatin1(QUrl::toPercentEncoding(QLatin1String(__TIME__))));
#if defined(Q_OS_WIN)
# if defined(Q_OS_WIN64)
queryItems << qMakePair(QString::fromLatin1("os"), QString::fromLatin1("WinX64"));
# else
queryItems << qMakePair(QString::fromLatin1("os"), QString::fromLatin1("Win32"));
# endif
#elif defined(Q_OS_MAC)
# if defined(USE_MAC_UNIVERSAL)
queryItems << qMakePair(QString::fromLatin1("os"), QString::fromLatin1("MacOSX-Universal"));

0 comments on commit 769855b

Please sign in to comment.
You can’t perform that action at this time.