Skip to content
Browse files

fix build without python (#6577)

and do not delete object with incomplete type
better fix for warning adressed in PR #6491
  • Loading branch information
3nids committed Mar 11, 2018
1 parent 30749ef commit 010a99d1120c651ac70e4bb308c02b35971f5e1d
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/app/qgisapp.cpp
@@ -242,7 +242,6 @@ Q_GUI_EXPORT extern int qt_defaultDpiX();
#include "qgspluginmanager.h"
#include "qgspluginregistry.h"
#include "qgspointxy.h"
#include "qgspythonutils.h"
#include "qgsruntimeprofiler.h"
#include "qgshandlebadlayers.h"
#include "qgsprintlayout.h"
@@ -1432,7 +1431,10 @@ QgisApp::~QgisApp()

unregisterCustomLayoutDropHandler( mLayoutQptDropHandler );

delete mPythonUtils;

delete mTray;
delete mDataSourceManagerDialog;
qDeleteAll( mCustomDropHandlers );

0 comments on commit 010a99d

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