summaryrefslogtreecommitdiff
path: root/src/gui/questswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/questswindow.cpp')
-rw-r--r--src/gui/questswindow.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/gui/questswindow.cpp b/src/gui/questswindow.cpp
index c4f3a6928..b3e96fd4f 100644
--- a/src/gui/questswindow.cpp
+++ b/src/gui/questswindow.cpp
@@ -69,6 +69,11 @@ struct QuestItem final
{
QuestItem() :
var(0),
+ name(),
+ group(),
+ incomplete(),
+ complete(),
+ texts(),
completeFlag(-1),
broken(false)
{
@@ -101,9 +106,11 @@ class QuestsModel final : public ExtendedNamesModel
struct QuestEffect final
{
QuestEffect() :
+ map(),
var(0),
id(0),
- effectId(0)
+ effectId(0),
+ values()
{
}
@@ -127,6 +134,12 @@ QuestsWindow::QuestsWindow() :
mTextScrollArea(new ScrollArea(mText,
getOptionBool("showtextbackground"), "quests_text_background.xml")),
mCloseButton(new Button(this, _("Close"), "close", this)),
+ mVars(),
+ mQuests(),
+ mAllEffects(),
+ mMapEffects(),
+ mNpcEffects(),
+ mQuestLinks(),
mCompleteIcon(Theme::getImageFromThemeXml("complete_icon.xml", "")),
mIncompleteIcon(Theme::getImageFromThemeXml("incomplete_icon.xml", "")),
mNewQuestEffectId(paths.getIntValue("newQuestEffectId")),