Remove Windows XP remnants

This commit is contained in:
Chocobo1 2019-07-26 23:16:35 +08:00
parent cdb0db02f9
commit 3ab2fe907f
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 6 additions and 25 deletions

View file

@ -84,11 +84,6 @@ QString Private::DefaultProfile::dataLocation() const
QString Private::DefaultProfile::downloadLocation() const
{
#if defined(Q_OS_WIN)
if (QSysInfo::windowsVersion() <= QSysInfo::WV_XP) // Windows XP
return QDir(QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation)).absoluteFilePath(
QCoreApplication::translate("fsutils", "Downloads"));
#endif
return QStandardPaths::writableLocation(QStandardPaths::DownloadLocation);
}