Skip to content

Commit

Permalink
Fix cleanup of the style GUI utils singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jan 7, 2015
1 parent edf3ebb commit 19b7281
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -149,6 +149,7 @@
#include "qgsmapcanvas.h"
#include "qgsmaplayer.h"
#include "qgsmaplayerregistry.h"
#include "qgsmaplayerstyleguiutils.h"
#include "qgsmapoverviewcanvas.h"
#include "qgsmaprenderer.h"
#include "qgsmapsettings.h"
Expand Down Expand Up @@ -896,6 +897,8 @@ QgisApp::~QgisApp()
delete QgsProject::instance();

delete mPythonUtils;

QgsMapLayerStyleGuiUtils::cleanup();
}

void QgisApp::dragEnterEvent( QDragEnterEvent *event )
Expand Down

0 comments on commit 19b7281

Please sign in to comment.