summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-08 16:30:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-08 16:31:22 +0300
commitc0cc78df590a81b15d8a7eb1590edbec8fec6f1a (patch)
tree2689c79861db5b988074dcd890b645e895f06931 /src/gui/gui.cpp
parentedb10e8879272f9d377d08dab6a081aa1acd5205 (diff)
downloadmanaverse-c0cc78df590a81b15d8a7eb1590edbec8fec6f1a.tar.gz
manaverse-c0cc78df590a81b15d8a7eb1590edbec8fec6f1a.tar.bz2
manaverse-c0cc78df590a81b15d8a7eb1590edbec8fec6f1a.tar.xz
manaverse-c0cc78df590a81b15d8a7eb1590edbec8fec6f1a.zip
Clean global font pointer on gui deletion.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index fd3f8bd2a..06afeccc6 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -294,6 +294,7 @@ Gui::~Gui()
delete2(mFocusHandler);
Label::finalCleanup();
Tab::finalCleanup();
+ Widget::cleanGlobalFont();
}
void Gui::logic()