summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcpostdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 17:40:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit07d4ee9812ce6c43965d3bdc0d68982d22d6b633 (patch)
treecbe98a57856f61bddccdb2cf36aa9f7b6da177fa /src/gui/windows/npcpostdialog.cpp
parent4466a6a4b4c39dc91c2b37b0368a83c8e83e197f (diff)
downloadplus-07d4ee9812ce6c43965d3bdc0d68982d22d6b633.tar.gz
plus-07d4ee9812ce6c43965d3bdc0d68982d22d6b633.tar.bz2
plus-07d4ee9812ce6c43965d3bdc0d68982d22d6b633.tar.xz
plus-07d4ee9812ce6c43965d3bdc0d68982d22d6b633.zip
move virtual member calls from npcpostdialog constuctor into postInit.
Diffstat (limited to 'src/gui/windows/npcpostdialog.cpp')
-rw-r--r--src/gui/windows/npcpostdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp
index d1542d0bb..2eb20fbf8 100644
--- a/src/gui/windows/npcpostdialog.cpp
+++ b/src/gui/windows/npcpostdialog.cpp
@@ -49,6 +49,10 @@ NpcPostDialog::NpcPostDialog(const int npcId):
{
setContentSize(400, 180);
+}
+
+void NpcPostDialog::postInit()
+{
// create text field for receiver
// TRANSLATORS: label in npc post dialog
Label *const senderText = new Label(this, _("To:"));