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

Cosmetics

This commit is contained in:
Martin Tůma 2021-06-17 22:13:31 +02:00
parent ec5a1c7851
commit 319f1180f1

View File

@ -18,7 +18,7 @@ WorldFileMap::WorldFileMap(const QString &fileName, const Projection &proj,
QString basename(fi.baseName()); QString basename(fi.baseName());
// Get transformation from the WLD file // Get the transformation from the WLD file
WLDFile wld(fileName); WLDFile wld(fileName);
if (wld.transform().isValid()) if (wld.transform().isValid())
_transform = wld.transform(); _transform = wld.transform();
@ -27,7 +27,7 @@ WorldFileMap::WorldFileMap(const QString &fileName, const Projection &proj,
return; return;
} }
// Set the projection from PRJ file if any // Get the projection from the corresponding PRJ file (if any)
QString prjFile(basename + ".prj"); QString prjFile(basename + ".prj");
if (dir.exists(prjFile)) { if (dir.exists(prjFile)) {
PRJFile prj(dir.filePath(prjFile)); PRJFile prj(dir.filePath(prjFile));