Skip to content

Commit

Permalink
Avoid Qt warning on startup
Browse files Browse the repository at this point in the history
...by not trying to add a map item to canvas twice
  • Loading branch information
nyalldawson committed Feb 27, 2015
1 parent ada0160 commit bbe0837
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gui/qgsmapcanvas.cpp
Expand Up @@ -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 & ) ),
Expand Down

0 comments on commit bbe0837

Please sign in to comment.