mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
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:
parent
a6d8101f67
commit
360546bcc2
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user