summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcpostdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
commit5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch)
treebb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/npcpostdialog.cpp
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/npcpostdialog.cpp')
-rw-r--r--src/gui/windows/npcpostdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp
index 48324cb40..3fdb42cb7 100644
--- a/src/gui/windows/npcpostdialog.cpp
+++ b/src/gui/windows/npcpostdialog.cpp
@@ -43,9 +43,9 @@ NpcPostDialog::NpcPostDialog(const int npcId):
// TRANSLATORS: npc post dialog caption
Window(_("NPC"), false, nullptr, "npcpost.xml"),
ActionListener(),
- mNpcId(npcId),
mText(new TextBox(this)),
- mSender(new TextField(this))
+ mSender(new TextField(this)),
+ mNpcId(npcId)
{
setContentSize(400, 180);
}