mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 12:48:04 -06:00
Remove Windows XP remnants
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user