mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
use completeBaseName for world file when exporting layouts (fix #34523)
This commit is contained in:
parent
dc8c3d9141
commit
8f21a6d2f3
@ -445,7 +445,7 @@ QgsLayoutExporter::ExportResult QgsLayoutExporter::exportToImage( const QString
|
||||
QFileInfo fi( outputFilePath );
|
||||
// build the world file name
|
||||
QString outputSuffix = fi.suffix();
|
||||
QString worldFileName = fi.absolutePath() + '/' + fi.baseName() + '.'
|
||||
QString worldFileName = fi.absolutePath() + '/' + fi.completeBaseName() + '.'
|
||||
+ outputSuffix.at( 0 ) + outputSuffix.at( fi.suffix().size() - 1 ) + 'w';
|
||||
|
||||
writeWorldFile( worldFileName, a, b, c, d, e, f );
|
||||
|
Loading…
x
Reference in New Issue
Block a user