mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Use %USERPROFILE%\Downloads as download folder on Windows
This commit is contained in:
parent
2e544f6a74
commit
357e309dad
@ -163,7 +163,6 @@ QString misc::QDesktopServicesDownloadLocation() {
|
||||
// TODO: Use IKnownFolderManager to get path of FOLDERID_Downloads
|
||||
// instead of hardcoding "Downloads"
|
||||
// Unfortunately, this would break compatibility with WinXP
|
||||
return QDir(QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation)).absoluteFilePath(tr("Downloads"));
|
||||
#endif
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
|
Loading…
Reference in New Issue
Block a user