diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:19:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:19:17 +0300 |
commit | 418d749f0d4889904d0b91e825a87e70a08d134c (patch) | |
tree | 5c244fcc48d343dd9ee8f6232b9f0fce92ca06c1 /src/gui/widgets | |
parent | dc5766216ee50103909d3b5dcdc5747c149855e0 (diff) | |
download | plus-418d749f0d4889904d0b91e825a87e70a08d134c.tar.gz plus-418d749f0d4889904d0b91e825a87e70a08d134c.tar.bz2 plus-418d749f0d4889904d0b91e825a87e70a08d134c.tar.xz plus-418d749f0d4889904d0b91e825a87e70a08d134c.zip |
Remove getter for partyHandler.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/socialpartytab.h | 4 |
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 |