mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fixed panning bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@101 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
62ee8cb764
commit
9ad2b7a175
@ -257,7 +257,8 @@ void QgsMapCanvas::mousePressEvent(QMouseEvent * e)
|
||||
// create a pixmap to use in panning the map canvas
|
||||
tempPanImage = new QPixmap();
|
||||
|
||||
*tempPanImage = QPixmap::grabWidget(this);
|
||||
//*tempPanImage = QPixmap::grabWidget(this);
|
||||
*tempPanImage = QPixmap::grabWindow(winId());
|
||||
|
||||
|
||||
backgroundFill = new QPixmap(tempPanImage->width(), tempPanImage->height());
|
||||
|
Loading…
x
Reference in New Issue
Block a user