Revert "Use %USERPROFILE%\Downloads as download folder on Windows"

This reverts commit 357e309dad.
This commit is contained in:
Christophe Dumez 2011-10-08 13:35:25 +03:00
parent 3e4f74ab4e
commit 2c433e35b0

View file

@ -162,6 +162,7 @@ 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