From 272d20ce27bfde44fe0ea85d90fe178bb01198da Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 3 Nov 2011 19:13:32 +0100 Subject: 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 --- src/corelib/io/qstandardpaths.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/corelib/io/qstandardpaths.h') 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); -- cgit v1.2.3