mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 18:04:32 +00:00
Revert "Use %USERPROFILE%\Downloads as download folder on Windows"
This reverts commit 357e309dade3ad5e8a6b9e6a4c108cb6c86b1b95.
This commit is contained in:
parent
3e4f74ab4e
commit
3c650038e2
@ -162,6 +162,7 @@ QString misc::QDesktopServicesDownloadLocation() {
|
|||||||
// TODO: Use IKnownFolderManager to get path of FOLDERID_Downloads
|
// TODO: Use IKnownFolderManager to get path of FOLDERID_Downloads
|
||||||
// instead of hardcoding "Downloads"
|
// instead of hardcoding "Downloads"
|
||||||
// Unfortunately, this would break compatibility with WinXP
|
// Unfortunately, this would break compatibility with WinXP
|
||||||
|
return QDir(QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation)).absoluteFilePath(tr("Downloads"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
|
Loading…
x
Reference in New Issue
Block a user