summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index deed890ae..b17ae3ba8 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -316,7 +316,8 @@ Gui::~Gui()
delete guiInput;
guiInput = nullptr;
- Theme::deleteInstance();
+ delete theme;
+ theme = nullptr;
if (Widget::widgetExists(mTop))
setTop(nullptr);