diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:50:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:50:22 +0300 |
commit | 4228763829f71ec4db50ed185483d7707c5e47eb (patch) | |
tree | 55e6ae79345b0580b13928162a85d4b7ba2ef664 /src/gui/widgets | |
parent | 38b46ebb02bbe307765aa9a456b587eafd3dfd7e (diff) | |
download | manaverse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.gz manaverse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.bz2 manaverse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.xz manaverse-4228763829f71ec4db50ed185483d7707c5e47eb.zip |
Remove getter for guildHandler.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/socialguildtab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h index ba9127418..ed9261133 100644 --- a/src/gui/widgets/tabs/socialguildtab.h +++ b/src/gui/widgets/tabs/socialguildtab.h @@ -75,7 +75,7 @@ class SocialGuildTab final : public SocialTab, if (eventId == "do invite") { const std::string name = mInviteDialog->getText(); - Net::getGuildHandler()->invite(mGuild->getId(), name); + guildHandler->invite(mGuild->getId(), name); if (localChatTab) { @@ -94,7 +94,7 @@ class SocialGuildTab final : public SocialTab, } else if (eventId == "yes") { - Net::getGuildHandler()->leave(mGuild->getId()); + guildHandler->leave(mGuild->getId()); if (localChatTab) { // TRANSLATORS: chat message |