Skip to content

Commit

Permalink
fix build without python (#6577)
Browse files Browse the repository at this point in the history
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 010a99d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -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"
Expand Down Expand Up @@ -1432,7 +1431,10 @@ QgisApp::~QgisApp()

unregisterCustomLayoutDropHandler( mLayoutQptDropHandler );

#ifdef WITH_BINDINGS
delete mPythonUtils;
#endif

delete mTray;
delete mDataSourceManagerDialog;
qDeleteAll( mCustomDropHandlers );
Expand Down

0 comments on commit 010a99d

Please sign in to comment.