summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeofiletilecache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeofiletilecache.cpp')
-rw-r--r--src/location/maps/qgeofiletilecache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/maps/qgeofiletilecache.cpp b/src/location/maps/qgeofiletilecache.cpp
index 559fc013..8c1b19ee 100644
--- a/src/location/maps/qgeofiletilecache.cpp
+++ b/src/location/maps/qgeofiletilecache.cpp
@@ -432,13 +432,13 @@ QGeoTileSpec QGeoFileTileCache::filenameToTileSpecDefault(const QString &filenam
{
QGeoTileSpec emptySpec;
- QStringList parts = filename.split('.');
+ QStringList parts = filename.split(QLatin1Char('.'));
if (parts.length() != 2)
return emptySpec;
QString name = parts.at(0);
- QStringList fields = name.split('-');
+ QStringList fields = name.split(QLatin1Char('-'));
int length = fields.length();
if (length != 5 && length != 6)