summaryrefslogtreecommitdiff
path: root/src/gui/windows/socialwindow.cpp
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/windows/socialwindow.cpp
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/windows/socialwindow.cpp')
-rw-r--r--src/gui/windows/socialwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index 5b7868abb..e792d0a0a 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -277,7 +277,7 @@ void SocialWindow::action(const ActionEvent &event)
strprintf(_("Accepted party invite from %s."),
mPartyInviter.c_str()));
}
- Net::getPartyHandler()->inviteResponse(mPartyInviter, true);
+ partyHandler->inviteResponse(mPartyInviter, true);
}
else if (eventId == "no")
{
@@ -288,7 +288,7 @@ void SocialWindow::action(const ActionEvent &event)
strprintf(_("Rejected party invite from %s."),
mPartyInviter.c_str()));
}
- Net::getPartyHandler()->inviteResponse(mPartyInviter, false);
+ partyHandler->inviteResponse(mPartyInviter, false);
}
mPartyInviter.clear();
@@ -373,7 +373,7 @@ void SocialWindow::action(const ActionEvent &event)
if (name.size() > 16)
return;
- Net::getPartyHandler()->create(name);
+ partyHandler->create(name);
if (localChatTab)
{
// TRANSLATORS: chat message