From a57d736348be038bcc1371b05dbc89459f87d045 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Jul 2012 17:31:17 +0300 Subject: Add icons to quests window. Fix memory leak in extendednamesmodel. --- src/gui/questswindow.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/questswindow.h') diff --git a/src/gui/questswindow.h b/src/gui/questswindow.h index c35e395bd..8454b80f5 100644 --- a/src/gui/questswindow.h +++ b/src/gui/questswindow.h @@ -49,6 +49,8 @@ class QuestsWindow : public Window, public gcn::ActionListener */ QuestsWindow(); + ~QuestsWindow(); + /** * Called when receiving actions from the widgets. */ @@ -74,6 +76,8 @@ class QuestsWindow : public Window, public gcn::ActionListener std::map mVars; std::map> mQuests; std::vector mQuestLinks; + Image *mCompleteIcon; + Image *mIncompleteIcon; }; extern QuestsWindow *questsWindow; -- cgit v1.2.3-70-g09d2