Browse Source

Use %USERPROFILE%\Downloads as download folder on Windows

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
357e309dad
  1. 1
      src/misc.cpp

1
src/misc.cpp

@ -163,7 +163,6 @@ 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…
Cancel
Save