From 1b4204813524d997f4b3b75873a5fc4723d2e2ba Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Mon, 24 Aug 2020 11:33:40 +0200 Subject: [PATCH] Fixed pure virtual function call --- src/DockManager.cpp | 6 ------ 1 file changed, 6 deletions(-) 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; }