Skip to content
Permalink
Browse files

better fix for b99ab0a

  • Loading branch information
jef-n committed Nov 22, 2014
1 parent f10a8cc commit d36597a69a22cb5c88e9cd7b4063538e4586d85b
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/qgsmapcanvasitem.cpp
@@ -27,11 +27,13 @@
#include "qgslogger.h"

QgsMapCanvasItem::QgsMapCanvasItem( QgsMapCanvas* mapCanvas )
: QGraphicsItem( 0, mapCanvas->scene() )
: QGraphicsItem()
, mMapCanvas( mapCanvas )
, mPanningOffset( 0, 0 )
, mItemSize( 0, 0 )
{
Q_ASSERT( mapCanvas && mapCanvas->scene() );
mapCanvas->scene()->addItem( this );
}

QgsMapCanvasItem::~QgsMapCanvasItem()

0 comments on commit d36597a

Please sign in to comment.
You can’t perform that action at this time.