summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/socialpartytab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:19:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:19:17 +0300
commit418d749f0d4889904d0b91e825a87e70a08d134c (patch)
tree5c244fcc48d343dd9ee8f6232b9f0fce92ca06c1 /src/gui/widgets/tabs/socialpartytab.h
parentdc5766216ee50103909d3b5dcdc5747c149855e0 (diff)
downloadmv-418d749f0d4889904d0b91e825a87e70a08d134c.tar.gz
mv-418d749f0d4889904d0b91e825a87e70a08d134c.tar.bz2
mv-418d749f0d4889904d0b91e825a87e70a08d134c.tar.xz
mv-418d749f0d4889904d0b91e825a87e70a08d134c.zip
Remove getter for partyHandler.
Diffstat (limited to 'src/gui/widgets/tabs/socialpartytab.h')
-rw-r--r--src/gui/widgets/tabs/socialpartytab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h
index 9aea998d2..777a3ea6b 100644
--- a/src/gui/widgets/tabs/socialpartytab.h
+++ b/src/gui/widgets/tabs/socialpartytab.h
@@ -76,7 +76,7 @@ class SocialPartyTab final : public SocialTab,
if (eventId == "do invite")
{
const std::string name = mInviteDialog->getText();
- Net::getPartyHandler()->invite(name);
+ partyHandler->invite(name);
if (localChatTab)
{
@@ -94,7 +94,7 @@ class SocialPartyTab final : public SocialTab,
}
else if (eventId == "yes")
{
- Net::getPartyHandler()->leave();
+ partyHandler->leave();
if (localChatTab)
{
// TRANSLATORS: tab in social window