From ddd7f8acbbfbe7cf2787279babdb5c1279c7fd73 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 15 Apr 2009 22:55:02 +0200 Subject: Made the PopupMenu a Popup subclass It's a natural better fit. The SkinLoader was changed into a singleton, since it's used by both Window and Popup classes. --- src/gui/gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 8a4e4aec..f1bb1022 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -161,6 +161,8 @@ Gui::~Gui() delete getTop(); delete guiInput; + + SkinLoader::deleteInstance(); } void Gui::logic() -- cgit v1.2.3-60-g2f50