File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ class QgsMapCanvas::CanvasProperties
80
80
QgsMapCanvas::QgsMapCanvas ( QWidget * parent, const char *name )
81
81
: QGraphicsView( parent )
82
82
, mCanvasProperties( new CanvasProperties )
83
- , mPainting( false )
84
83
, mNewSize( QSize() )
84
+ , mPainting( false )
85
85
{
86
86
mScene = new QGraphicsScene ();
87
87
setScene ( mScene );
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ QRectF QgsMapCanvasMap::boundingRect() const
44
44
45
45
void QgsMapCanvasMap::resize ( QSize size )
46
46
{
47
+ QgsDebugMsg ( QString ( " resizing to %1x%2" ).arg ( size.width () ).arg ( size.height () ) );
47
48
prepareGeometryChange (); // to keep QGraphicsScene indexes up to date on size change
48
49
49
50
mPixmap = QPixmap ( size );
You can’t perform that action at this time.
0 commit comments