1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 11:52:08 +01:00

Use propper basename in extension replace

This commit is contained in:
Martin Tůma 2021-06-21 23:34:29 +02:00
parent 3244dd675d
commit 47d9eea1af

View File

@ -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