diff --git a/src/DockManager.cpp b/src/DockManager.cpp index 09bc9a5..bf20907 100644 --- a/src/DockManager.cpp +++ b/src/DockManager.cpp @@ -484,12 +484,6 @@ CDockManager::~CDockManager() { delete FloatingWidget; } - auto DockWidgetsMap = d->DockWidgetsMap; - for(auto DockWidget : d->DockWidgetsMap) - { - if(!DockWidget->parent()) - delete DockWidget; - } delete d; }