Skip to content
Permalink
Browse files

restore setting of scene to map canvas items (followup 78c5195)

  • Loading branch information
jef-n committed Nov 22, 2014
1 parent fe7a0e5 commit b99ab0a91d7ffa2cb48c0fd1a2df028df9732d2d
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/gui/qgsmapcanvasitem.cpp
@@ -27,8 +27,10 @@
#include "qgslogger.h"

QgsMapCanvasItem::QgsMapCanvasItem( QgsMapCanvas* mapCanvas )
: QGraphicsItem(), mMapCanvas( mapCanvas ),
mPanningOffset( 0, 0 ), mItemSize( 0, 0 )
: QGraphicsItem( 0, mapCanvas->scene() )
, mMapCanvas( mapCanvas )
, mPanningOffset( 0, 0 )
, mItemSize( 0, 0 )
{
}

0 comments on commit b99ab0a

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