From b7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 7 Sep 2012 22:09:11 +0300 Subject: Improve constructors in some classes. --- src/gui/questswindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/questswindow.cpp') diff --git a/src/gui/questswindow.cpp b/src/gui/questswindow.cpp index 51ad76505..092fdc6c3 100644 --- a/src/gui/questswindow.cpp +++ b/src/gui/questswindow.cpp @@ -75,7 +75,8 @@ struct QuestItem class QuestsModel : public ExtendedNamesModel { public: - QuestsModel() + QuestsModel() : + ExtendedNamesModel() { } @@ -85,6 +86,7 @@ class QuestsModel : public ExtendedNamesModel QuestsWindow::QuestsWindow() : Window(_("Quests"), false, nullptr, "quests.xml"), + ActionListener(), mQuestsModel(new QuestsModel), mQuestsListBox(new ExtendedListBox(mQuestsModel)), mQuestScrollArea(new ScrollArea(mQuestsListBox, -- cgit v1.2.3-60-g2f50