mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Add comment
This commit is contained in:
parent
01ad2e9746
commit
a48d36c9a2
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ QString misc::QDesktopServicesDownloadLocation() {
|
||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
// 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
|
||||||
return QDir(QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation)).absoluteFilePath(tr("Downloads")).toString();
|
return QDir(QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation)).absoluteFilePath(tr("Downloads")).toString();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue