diff --git a/src/map/worldfilemap.cpp b/src/map/worldfilemap.cpp index 8f517d0d..5eb5fed9 100644 --- a/src/map/worldfilemap.cpp +++ b/src/map/worldfilemap.cpp @@ -15,7 +15,7 @@ WorldFileMap::WorldFileMap(const QString &fileName, const Projection &proj, { QFileInfo fi(fileName); QDir dir(fi.absoluteDir()); - QString basename(fi.baseName()); + QString basename(fi.completeBaseName()); // Get the transformation from the WLD file