mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Remove Windows XP remnants
This commit is contained in:
parent
cdb0db02f9
commit
3ab2fe907f
2 changed files with 6 additions and 25 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue