Skip to content
Permalink
Browse files

Avoid Qt warning on startup

...by not trying to add a map item to canvas twice
  • Loading branch information
nyalldawson committed Feb 27, 2015
1 parent ada0160 commit bbe08374e58d2013dc8d65b6f2522e18359c3398
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/gui/qgsmapcanvas.cpp
@@ -223,7 +223,6 @@ QgsMapCanvas::QgsMapCanvas( QWidget * parent, const char *name )

// create map canvas item which will show the map
mMap = new QgsMapCanvasMap( this );
mScene->addItem( mMap );

// project handling
connect( QgsProject::instance(), SIGNAL( readProject( const QDomDocument & ) ),

0 comments on commit bbe0837

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