From 360546bcc2c85aac5f448bb7ff866ed7f37bb606 Mon Sep 17 00:00:00 2001 From: mhugent Date: Sun, 15 Jun 2003 17:11:36 +0000 Subject: [PATCH] removed some of my unnecessary comments git-svn-id: http://svn.osgeo.org/qgis/trunk@229 c8812cc2-4d05-0410-92ff-de0c093fc19c --- qgis/src/qgsmapcanvas.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/qgis/src/qgsmapcanvas.cpp b/qgis/src/qgsmapcanvas.cpp index 90c2befda8d..aa46bf1de51 100644 --- a/qgis/src/qgsmapcanvas.cpp +++ b/qgis/src/qgsmapcanvas.cpp @@ -148,7 +148,6 @@ void QgsMapCanvas::render2() // std::cout << "IN RENDER 2" << std::endl; drawing = true; QPainter *paint = new QPainter(); - //paint->begin(this);replaced line pmCanvas->fill(bgColor); paint->begin(pmCanvas); // calculate the translation and scaling parameters @@ -199,10 +198,7 @@ void QgsMapCanvas::render2() paint->end(); drawing = false; } - // save the canvas pixmap - //delete pmCanvas; - //pmCanvas = new QPixmap(); - //*pmCanvas = QPixmap::grabWindow(winId()); + dirty = false; repaint(); }