We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b89cc25 commit e880ee4Copy full SHA for e880ee4
src/core/qgsproject.cpp
@@ -1469,8 +1469,10 @@ QString QgsProject::writePath( QString src ) const
1469
return src;
1470
}
1471
1472
- QString srcPath = src;
1473
- QString projPath = fileName();
+ QFileInfo srcFileInfo( src );//QString srcPath = src;
+ QFileInfo projFileInfo( fileName() );
1474
+ QString srcPath = srcFileInfo.canonicalFilePath();
1475
+ QString projPath = projFileInfo.canonicalFilePath();
1476
1477
if ( projPath.isEmpty() )
1478
{
0 commit comments