Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct some debug output formatting
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6348 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Dec 29, 2006
1 parent f6f9d48 commit 4316914
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 4316914

Please sign in to comment.