Skip to content

Commit da6e2cf

Browse files
author
mhugent
committed
Fix for previous label commits
git-svn-id: http://svn.osgeo.org/qgis/trunk@13609 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 8a5a9d6 commit da6e2cf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/app/qgisapp.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
526526
mMapCanvas->freeze( false );
527527
mMapCanvas->clearExtentHistory(); // reset zoomnext/zoomlast
528528
mLastComposerId = 0;
529-
mLBL = new QgsPalLabeling();;
529+
mLBL = new QgsPalLabeling();
530+
mMapCanvas->mapRenderer()->setLabelingEngine( mLBL );
530531
} // QgisApp ctor
531532

532533

@@ -572,8 +573,6 @@ QgisApp::~QgisApp()
572573
deletePrintComposers();
573574
removeAnnotationItems();
574575

575-
delete mLBL;
576-
577576
// delete map layer registry and provider registry
578577
QgsApplication::exitQgis();
579578
}

0 commit comments

Comments
 (0)