diff options
author | David Faure <faure@kde.org> | 2011-11-03 19:13:32 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-04 10:54:54 +0100 |
commit | 272d20ce27bfde44fe0ea85d90fe178bb01198da (patch) | |
tree | cbf115bf061c1af44f29286a569ad07ab0988842 /src/corelib/io/qstandardpaths.h | |
parent | ae6e7e3d59439008e7369da8083f4e5c4f6f980a (diff) |
QStandardPaths: add DownloadLocation.
Only properly implemented on unix (XDG), falls back to Document location
on Mac and Windows, because not easily available with the current API
being used by either one.
Change-Id: Id269f0e3c4e3a68e19205de96c0b39980fde80ff
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qstandardpaths.h')
-rw-r--r-- | src/corelib/io/qstandardpaths.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qstandardpaths.h b/src/corelib/io/qstandardpaths.h index 1bef1be7f6..d91da9de2f 100644 --- a/src/corelib/io/qstandardpaths.h +++ b/src/corelib/io/qstandardpaths.h @@ -72,7 +72,8 @@ public: CacheLocation, GenericDataLocation, RuntimeLocation, - ConfigLocation + ConfigLocation, + DownloadLocation }; static QString writableLocation(StandardLocation type); |