File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1889,7 +1889,7 @@ void QgsLayoutDesignerDialog::exportToRaster()
1889
1889
case QgsLayoutExporter::FileError:
1890
1890
cursorOverride.release ();
1891
1891
QMessageBox::warning ( this , tr ( " Image Export Error" ),
1892
- tr ( " Cannot write to %1.\n\n This file may be open in another application." ).arg ( exporter.errorFile () ),
1892
+ tr ( " Cannot write to %1.\n\n This file may be open in another application." ).arg ( QDir::toNativeSeparators ( exporter.errorFile () ) ),
1893
1893
QMessageBox::Ok,
1894
1894
QMessageBox::Ok );
1895
1895
break ;
@@ -1900,7 +1900,7 @@ void QgsLayoutDesignerDialog::exportToRaster()
1900
1900
tr ( " Trying to create image %1 (%2×%3 @ %4dpi ) "
1901
1901
" resulted in a memory overflow.\n\n "
1902
1902
" Please try a lower resolution or a smaller paper size." )
1903
- .arg ( exporter.errorFile () ).arg ( imageSize.width () ).arg ( imageSize.height () ).arg ( settings.dpi ),
1903
+ .arg ( QDir::toNativeSeparators ( exporter.errorFile () ) ).arg ( imageSize.width () ).arg ( imageSize.height () ).arg ( settings.dpi ),
1904
1904
QMessageBox::Ok, QMessageBox::Ok );
1905
1905
break ;
1906
1906
You can’t perform that action at this time.
0 commit comments