Skip to content

Commit

Permalink
Correct some debug output formatting
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@6348 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Dec 29, 2006
1 parent 8ca23be commit 8a47a2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/raster/qgsrasterlayer.cpp
Expand Up @@ -1591,6 +1591,7 @@ void QgsRasterLayer::drawSingleBandGray(QPainter * theQPainter, QgsRasterViewPor
+ QString::number(paintXoffset) + ", " + QString::number(paintYoffset)\
+ " to "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.x() + 0.5))\
+ ", "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.y() + 0.5))\
+ ".");

Expand Down Expand Up @@ -2349,6 +2350,7 @@ QgsDebugMsg("QgsRasterLayer::drawSingleBandGray: painting image to canvas from "
+ QString::number(paintXoffset) + ", " + QString::number(paintYoffset)\
+ " to "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.x() + 0.5))\
+ ", "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.y() + 0.5))\
+ ".");

Expand Down Expand Up @@ -2482,6 +2484,7 @@ QgsDebugMsg("QgsRasterLayer::drawSingleBandGray: painting image to canvas from s
+ QString::number(paintXoffset) + ", " + QString::number(paintYoffset)\
+ " to "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.x() + 0.5))\
+ ", "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.y() + 0.5))\
+ ".");

Expand Down

0 comments on commit 8a47a2a

Please sign in to comment.