diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-30 21:45:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-30 21:45:19 +0300 |
commit | 2fdb687596ed775862b5a12c154bf6328e4cd7f7 (patch) | |
tree | d7c7a0a33f1ec88e23b4ccf4cfe66b7f619b851f /src/gui/windows/npcdialog.cpp | |
parent | e7d913aca1cc6fef85253962c39366e9b8fb721f (diff) | |
download | plus-2fdb687596ed775862b5a12c154bf6328e4cd7f7.tar.gz plus-2fdb687596ed775862b5a12c154bf6328e4cd7f7.tar.bz2 plus-2fdb687596ed775862b5a12c154bf6328e4cd7f7.tar.xz plus-2fdb687596ed775862b5a12c154bf6328e4cd7f7.zip |
fix uninitialised values in npc dialog constructor.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index e1b139bd8..a6c7fe857 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -107,6 +107,8 @@ NpcDialog::NpcDialog(const BeingId npcId) : "npc_textbackground.xml")), mText(), mNewText(), + mItems(), + mImages(), mItemList(CREATEWIDGETR(ExtendedListBox, this, this, "extendedlistbox.xml")), mListScrollArea(new ScrollArea(this, mItemList, @@ -116,8 +118,6 @@ NpcDialog::NpcDialog(const BeingId npcId) : mSkinScrollArea(new ScrollArea(this, mSkinContainer, fromBool(getOptionBool("showlistbackground"), Opaque), "npc_listbackground.xml")), - mItems(), - mImages(), mItemLinkHandler(new ItemLinkHandler), mTextField(new TextField(this, "")), mIntField(new IntTextField(this)), |