diff options
author | Samuel Gaist <samuel.gaist@edeltech.ch> | 2014-11-23 01:00:05 +0100 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@edeltech.ch> | 2014-11-24 00:33:20 +0100 |
commit | 5f6284a98baded49d31b9723117a98d3bd010cfe (patch) | |
tree | 5f3466148c26e28f86d08e3992e48f6c3cd4de38 /src/corelib/io/qstandardpaths.cpp | |
parent | 13b939c7f41bceb2061e549923eab242326e9bb5 (diff) |
Implement Download folder path retrieval on OS X
The current implementation returns the DocumentLocation folder.
Since now only cocoa is supported, we can use NSFileManager to get the
correct path.
[ChangeLog][QtCore][OS X] Now QStandardPaths returns the correct path
for the DownloadLocation.
Change-Id: Ic0ea3ebf8585a1e34a7b43c734df78fd3949d4d4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qstandardpaths.cpp')
-rw-r--r-- | src/corelib/io/qstandardpaths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qstandardpaths.cpp b/src/corelib/io/qstandardpaths.cpp index c206e432f6..6950d58fda 100644 --- a/src/corelib/io/qstandardpaths.cpp +++ b/src/corelib/io/qstandardpaths.cpp @@ -195,7 +195,7 @@ QT_BEGIN_NAMESPACE \li "~/Library/Preferences" \li "C:/Users/<USER>/AppData/Local", "C:/ProgramData" \row \li DownloadLocation - \li "~/Documents" + \li "~/Downloads" \li "C:/Users/<USER>/Documents" \row \li GenericCacheLocation \li "~/Library/Caches", "/Library/Caches" |