summaryrefslogtreecommitdiff
path: root/src/gui/questswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:38:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:38:15 +0300
commit747dc30f256606e28fd932a9626da7c328114036 (patch)
tree1b3e7e70ba439d14d4936660d44c95c27816a11b /src/gui/questswindow.cpp
parentcef2952156ab09371ed04beec00d0f1e8615ada9 (diff)
downloadmanaplus-747dc30f256606e28fd932a9626da7c328114036.tar.gz
manaplus-747dc30f256606e28fd932a9626da7c328114036.tar.bz2
manaplus-747dc30f256606e28fd932a9626da7c328114036.tar.xz
manaplus-747dc30f256606e28fd932a9626da7c328114036.zip
fix style in gui directory.
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")),