Skip to content

Commit 5867ffa

Browse files
author
jef
committed
fix #2654, take III
git-svn-id: http://svn.osgeo.org/qgis/trunk@13321 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 64675d6 commit 5867ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsmapcanvas.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ void QgsMapCanvas::saveAsImage( QString theFileName, QPixmap * theQPixmap, QStri
443443
myHeader += QString::number( myRect.yMaximum() - ( mapUnitsPerPixel() / 2 ), 'g', 17 ) + "\r\n";
444444
QFileInfo myInfo = QFileInfo( theFileName );
445445
// allow dotted names
446-
QString myWorldFileName = myInfo.absolutePath() + myInfo.completeBaseName() + "." + theFormat + "w";
446+
QString myWorldFileName = myInfo.absolutePath() + "/" + myInfo.completeBaseName() + "." + theFormat + "w";
447447
QFile myWorldFile( myWorldFileName );
448448
if ( !myWorldFile.open( QIODevice::WriteOnly ) ) //don't use QIODevice::Text
449449
{

0 commit comments

Comments
 (0)