diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 12:44:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | d5bd11b08e4c49a22b40834c0607e3c9927aecd1 (patch) | |
tree | 5480ef3be37dd680a5ba6a0b20224711e3e56233 /src/gui/windows/socialwindow.cpp | |
parent | a259a5380ca980da4fcfb866777192231aa9f854 (diff) | |
download | ManaVerse-d5bd11b08e4c49a22b40834c0607e3c9927aecd1.tar.gz ManaVerse-d5bd11b08e4c49a22b40834c0607e3c9927aecd1.tar.bz2 ManaVerse-d5bd11b08e4c49a22b40834c0607e3c9927aecd1.tar.xz ManaVerse-d5bd11b08e4c49a22b40834c0607e3c9927aecd1.zip |
move virtual member calls from textdialog constructor into postInit.
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index 3e00ee4ff..97f0211d8 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -252,6 +252,7 @@ public: // TRANSLATORS: guild invite message strprintf(_("Who would you like to invite to guild %s?"), mGuild->getName().c_str()), socialWindow); + mInviteDialog->postInit(); mInviteDialog->setActionEventId("do invite"); mInviteDialog->addActionListener(this); } @@ -453,6 +454,7 @@ public: // TRANSLATORS: party invite message strprintf(_("Who would you like to invite to party %s?"), mParty->getName().c_str()), socialWindow); + mInviteDialog->postInit(); mInviteDialog->setActionEventId("do invite"); mInviteDialog->addActionListener(this); } @@ -1609,6 +1611,7 @@ void SocialWindow::showGuildCreate() mGuildCreateDialog = new TextDialog(_("Guild Name"), // TRANSLATORS: guild creation message _("Choose your guild's name."), this); + mGuildCreateDialog->postInit(); mGuildCreateDialog->setActionEventId("create guild"); mGuildCreateDialog->addActionListener(this); } @@ -1721,6 +1724,7 @@ void SocialWindow::showPartyCreate() mPartyCreateDialog = new TextDialog(_("Party Name"), // TRANSLATORS: party creation message _("Choose your party's name."), this); + mPartyCreateDialog->postInit(); mPartyCreateDialog->setActionEventId("create party"); mPartyCreateDialog->addActionListener(this); } |