From 47d9eea1afb19c1a8db4c4311fb84b468bba5bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 21 Jun 2021 23:34:29 +0200 Subject: [PATCH] Use propper basename in extension replace --- src/map/worldfilemap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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