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 @@ -1884,7 +1884,7 @@ void QgsLayoutDesignerDialog::exportToRaster()
1884
1884
case QgsLayoutExporter::FileError:
1885
1885
cursorOverride.release ();
1886
1886
QMessageBox::warning ( this , tr ( " Image Export Error" ),
1887
- tr ( " Cannot write to %1.\n\n This file may be open in another application." ).arg ( exporter.errorFile () ),
1887
+ tr ( " Cannot write to %1.\n\n This file may be open in another application." ).arg ( QDir::toNativeSeparators ( exporter.errorFile () ) ),
1888
1888
QMessageBox::Ok,
1889
1889
QMessageBox::Ok );
1890
1890
break ;
@@ -1895,7 +1895,7 @@ void QgsLayoutDesignerDialog::exportToRaster()
1895
1895
tr ( " Trying to create image %1 (%2×%3 @ %4dpi ) "
1896
1896
" resulted in a memory overflow.\n\n "
1897
1897
" Please try a lower resolution or a smaller paper size." )
1898
- .arg ( exporter.errorFile () ).arg ( imageSize.width () ).arg ( imageSize.height () ).arg ( settings.dpi ),
1898
+ .arg ( QDir::toNativeSeparators ( exporter.errorFile () ) ).arg ( imageSize.width () ).arg ( imageSize.height () ).arg ( settings.dpi ),
1899
1899
QMessageBox::Ok, QMessageBox::Ok );
1900
1900
break ;
1901
1901
You can’t perform that action at this time.
0 commit comments