mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Drop support for Windows < 10
This commit is contained in:
@@ -30,21 +30,11 @@
|
||||
#include "programupdater.h"
|
||||
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include <windows.h>
|
||||
#include <versionhelpers.h> // must follow after windows.h
|
||||
#endif
|
||||
|
||||
#include <QDebug>
|
||||
#include <QDesktopServices>
|
||||
#include <QRegularExpression>
|
||||
#include <QXmlStreamReader>
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include <QSysInfo>
|
||||
#endif
|
||||
|
||||
#include "base/global.h"
|
||||
#include "base/net/downloadmanager.h"
|
||||
#include "base/preferences.h"
|
||||
@@ -110,9 +100,7 @@ void ProgramUpdater::rssDownloadFinished(const Net::DownloadResult &result)
|
||||
#ifdef Q_OS_MACOS
|
||||
const QString OS_TYPE = u"Mac OS X"_s;
|
||||
#elif defined(Q_OS_WIN)
|
||||
const QString OS_TYPE = (::IsWindows7OrGreater() && QSysInfo::currentCpuArchitecture().endsWith(u"64"))
|
||||
? u"Windows x64"_s
|
||||
: u"Windows"_s;
|
||||
const QString OS_TYPE = u"Windows x64"_s;
|
||||
#endif
|
||||
|
||||
bool inItem = false;
|
||||
|
||||
Reference in New Issue
Block a user