diff options
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r-- | src/gui/debugwindow.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp index ecc3ada54..d7cec480a 100644 --- a/src/gui/debugwindow.cpp +++ b/src/gui/debugwindow.cpp @@ -80,6 +80,16 @@ DebugWindow::DebugWindow(): loadWindowState(); } +DebugWindow::~DebugWindow() +{ + delete mMapWidget; + mMapWidget = 0; + delete mTargetWidget; + mTargetWidget = 0; + delete mNetWidget; + mNetWidget = 0; +} + void DebugWindow::logic() { if (!isVisible() || !mTabs) |