diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 17:40:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 07d4ee9812ce6c43965d3bdc0d68982d22d6b633 (patch) | |
tree | cbe98a57856f61bddccdb2cf36aa9f7b6da177fa /src/gui/windows/npcpostdialog.cpp | |
parent | 4466a6a4b4c39dc91c2b37b0368a83c8e83e197f (diff) | |
download | mv-07d4ee9812ce6c43965d3bdc0d68982d22d6b633.tar.gz mv-07d4ee9812ce6c43965d3bdc0d68982d22d6b633.tar.bz2 mv-07d4ee9812ce6c43965d3bdc0d68982d22d6b633.tar.xz mv-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.cpp | 4 |
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:")); |