summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcpostdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-24 22:03:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-25 10:45:54 +0300
commit67f8b40f80368dad17a9da50c78923433e266f54 (patch)
tree4667906e1ab807c31216f89da450b3cce5585150 /src/gui/windows/npcpostdialog.cpp
parent286f34b97b8a4fb56fde1f9e5f3a95ba0c807441 (diff)
downloadplus-67f8b40f80368dad17a9da50c78923433e266f54.tar.gz
plus-67f8b40f80368dad17a9da50c78923433e266f54.tar.bz2
plus-67f8b40f80368dad17a9da50c78923433e266f54.tar.xz
plus-67f8b40f80368dad17a9da50c78923433e266f54.zip
Fix code style.
Diffstat (limited to 'src/gui/windows/npcpostdialog.cpp')
-rw-r--r--src/gui/windows/npcpostdialog.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp
index 1adf01309..353ba1b4b 100644
--- a/src/gui/windows/npcpostdialog.cpp
+++ b/src/gui/windows/npcpostdialog.cpp
@@ -32,21 +32,19 @@
#include "gui/widgets/tabs/chat/chattab.h"
-#include "net/npchandler.h"
-
#include "utils/gettext.h"
#include "debug.h"
NpcPostDialog::DialogList NpcPostDialog::instances;
-NpcPostDialog::NpcPostDialog(const int npcId) :
+NpcPostDialog::NpcPostDialog(const int npcId A_UNUSED) :
// TRANSLATORS: npc post dialog caption
Window(_("NPC"), false, nullptr, "npcpost.xml"),
ActionListener(),
mText(new TextBox(this)),
- mSender(new TextField(this)),
- mNpcId(npcId)
+ mSender(new TextField(this))
+// mNpcId(npcId)
{
setContentSize(400, 180);
}