Skip to content

Commit 7ce7124

Browse files
authoredApr 6, 2018
Merge pull request vladest#24 from dje29/fixNonAsciiPath
Fix map tile cache not working on windows for non ASCII cachefolder
2 parents 79f3511 + db7ce40 commit 7ce7124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎qgeotiledmappingmanagerenginegooglemaps.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ QGeoTiledMappingManagerEngineGooglemaps::QGeoTiledMappingManagerEngineGooglemaps
6262
setTileFetcher(fetcher);
6363

6464
if (parameters.contains(QStringLiteral("googlemaps.cachefolder")))
65-
m_cacheDirectory = parameters.value(QStringLiteral("googlemaps.cachefolder")).toString().toLatin1();
65+
m_cacheDirectory = parameters.value(QStringLiteral("googlemaps.cachefolder")).toString();
6666

6767
const int szCache = 100 * 1024 * 1024;
6868
#if QT_VERSION < QT_VERSION_CHECK(5,6,0)

0 commit comments

Comments
 (0)
Please sign in to comment.