removed some of my unnecessary comments

git-svn-id: http://svn.osgeo.org/qgis/trunk@229 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2003-06-15 17:11:36 +00:00
parent a6d8101f67
commit 360546bcc2

View File

@ -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();
}