summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2014-01-08 17:07:12 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-16 00:27:55 +0100
commit1e5476a2f50cacbd349c43868701eeac6f056014 (patch)
tree5b3c648d19623d6c971b7b6ae73fef5fab040e3d
parent0a32e757285ecc643ae71eccceffd248b691c1a2 (diff)
downloadqtlocation-1e5476a2f50cacbd349c43868701eeac6f056014.tar.gz
Use GenericCacheLocation to share downloaded data between applications.
Change-Id: I3e075719c950b7c3c380937cbee3aed402d40f8a Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r--src/location/maps/qgeotilecache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeotilecache.cpp b/src/location/maps/qgeotilecache.cpp
index 9bd9c977..8a86b7c4 100644
--- a/src/location/maps/qgeotilecache.cpp
+++ b/src/location/maps/qgeotilecache.cpp
@@ -116,7 +116,7 @@ QGeoTileCache::QGeoTileCache(const QString &directory, QObject *parent)
// of course override them)
if (directory_.isEmpty()) {
- directory_ = QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
+ directory_ = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation)
+ QLatin1String("/QtLocation");
QDir::root().mkpath(directory_);
}