summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 10:50:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 10:50:22 +0300
commit4228763829f71ec4db50ed185483d7707c5e47eb (patch)
tree55e6ae79345b0580b13928162a85d4b7ba2ef664 /src/gui/widgets
parent38b46ebb02bbe307765aa9a456b587eafd3dfd7e (diff)
downloadmv-4228763829f71ec4db50ed185483d7707c5e47eb.tar.gz
mv-4228763829f71ec4db50ed185483d7707c5e47eb.tar.bz2
mv-4228763829f71ec4db50ed185483d7707c5e47eb.tar.xz
mv-4228763829f71ec4db50ed185483d7707c5e47eb.zip
Remove getter for guildHandler.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/socialguildtab.h4
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