From 8f49d216de9972f3daaba1b313f8a347560a4cb8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Aug 2016 19:11:20 +0300 Subject: Remove SocialWindow::showGuildCreate --- src/gui/windows/socialwindow.cpp | 11 ----------- src/gui/windows/socialwindow.h | 2 -- 2 files changed, 13 deletions(-) diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index ad9c34e8c..fbd7578a3 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -392,17 +392,6 @@ void SocialWindow::action(const ActionEvent &event) } } -void SocialWindow::showGuildCreate() -{ - CREATEWIDGETV(mGuildCreateDialog, TextDialog, - // TRANSLATORS: guild creation message - _("Guild Name"), - // TRANSLATORS: guild creation message - _("Choose your guild's name."), this); - mGuildCreateDialog->setActionEventId("create guild"); - mGuildCreateDialog->addActionListener(this); -} - void SocialWindow::showGuildInvite(const std::string &restrict guildName, const int guildId, const std::string &restrict inviterName) diff --git a/src/gui/windows/socialwindow.h b/src/gui/windows/socialwindow.h index 89cf673da..dc68fb7d4 100644 --- a/src/gui/windows/socialwindow.h +++ b/src/gui/windows/socialwindow.h @@ -69,8 +69,6 @@ class SocialWindow final : public Window, const int guildId, const std::string &restrict inviterName); - void showGuildCreate(); - void showPartyInvite(const std::string &restrict partyName, const std::string &restrict inviter, const int partyId); -- cgit v1.2.3-60-g2f50