Fix map renderer world file not taking into account complete base name

This commit is contained in:
nirvn 2019-10-28 13:11:20 +07:00 committed by Mathieu Pellerin
parent d7059d0dfd
commit b9d219e19b

View File

@ -402,7 +402,7 @@ bool QgsMapRendererTask::run()
if ( !skipWorldFile )
{
QString worldFileName = info.absolutePath() + '/' + info.baseName() + '.'
QString worldFileName = info.absolutePath() + '/' + info.completeBaseName() + '.'
+ outputSuffix.at( 0 ) + outputSuffix.at( info.suffix().size() - 1 ) + 'w';
QFile worldFile( worldFileName );