[QGIS Commit] r13321 - trunk/qgis/src/gui
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Apr 16 18:09:48 EDT 2010
Author: jef
Date: 2010-04-16 18:09:47 -0400 (Fri, 16 Apr 2010)
New Revision: 13321
Modified:
trunk/qgis/src/gui/qgsmapcanvas.cpp
Log:
fix #2654, take III
Modified: trunk/qgis/src/gui/qgsmapcanvas.cpp
===================================================================
--- trunk/qgis/src/gui/qgsmapcanvas.cpp 2010-04-16 21:10:32 UTC (rev 13320)
+++ trunk/qgis/src/gui/qgsmapcanvas.cpp 2010-04-16 22:09:47 UTC (rev 13321)
@@ -443,7 +443,7 @@
myHeader += QString::number( myRect.yMaximum() - ( mapUnitsPerPixel() / 2 ), 'g', 17 ) + "\r\n";
QFileInfo myInfo = QFileInfo( theFileName );
// allow dotted names
- QString myWorldFileName = myInfo.absolutePath() + myInfo.completeBaseName() + "." + theFormat + "w";
+ QString myWorldFileName = myInfo.absolutePath() + "/" + myInfo.completeBaseName() + "." + theFormat + "w";
QFile myWorldFile( myWorldFileName );
if ( !myWorldFile.open( QIODevice::WriteOnly ) ) //don't use QIODevice::Text
{
More information about the QGIS-commit
mailing list