Skip to content

Commit

Permalink
Merge pull request #24 from dje29/fixNonAsciiPath
Browse files Browse the repository at this point in the history
Fix map tile cache not working on windows for non ASCII cachefolder
  • Loading branch information
vladest authored Apr 6, 2018
2 parents 79f3511 + db7ce40 commit 7ce7124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgeotiledmappingmanagerenginegooglemaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ QGeoTiledMappingManagerEngineGooglemaps::QGeoTiledMappingManagerEngineGooglemaps
setTileFetcher(fetcher);

if (parameters.contains(QStringLiteral("googlemaps.cachefolder")))
m_cacheDirectory = parameters.value(QStringLiteral("googlemaps.cachefolder")).toString().toLatin1();
m_cacheDirectory = parameters.value(QStringLiteral("googlemaps.cachefolder")).toString();

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

0 comments on commit 7ce7124

Please sign in to comment.