mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Delete cad dock AFTER map tools, as they may reference it in their cleanup code
This commit is contained in:
parent
bcb16797d2
commit
1fb21f69fe
@ -1854,9 +1854,6 @@ QgisApp::~QgisApp()
|
||||
|
||||
mNetworkLoggerWidgetFactory.reset();
|
||||
|
||||
delete mAdvancedDigitizingDockWidget;
|
||||
mAdvancedDigitizingDockWidget = nullptr;
|
||||
|
||||
delete mInternalClipboard;
|
||||
delete mQgisInterface;
|
||||
delete mStyleSheetBuilder;
|
||||
@ -1865,6 +1862,10 @@ QgisApp::~QgisApp()
|
||||
mMapCanvas->unsetMapTool( tool );
|
||||
mMapTools.reset();
|
||||
|
||||
// must come after deleting map tools
|
||||
delete mAdvancedDigitizingDockWidget;
|
||||
mAdvancedDigitizingDockWidget = nullptr;
|
||||
|
||||
delete mpMaptip;
|
||||
|
||||
delete mpGpsWidget;
|
||||
|
Loading…
x
Reference in New Issue
Block a user