Skip to content

Commit

Permalink
fix build without python (#6578)
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 3d6cd2b commit aef3ad3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -1407,7 +1407,10 @@ QgisApp::~QgisApp()

unregisterCustomLayoutDropHandler( mLayoutQptDropHandler );

#ifdef WITH_BINDINGS
delete mPythonUtils;
#endif

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

0 comments on commit aef3ad3

Please sign in to comment.