summaryrefslogtreecommitdiff
path: root/src/notifymanager.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/notifymanager.cpp
parentdc5766216ee50103909d3b5dcdc5747c149855e0 (diff)
downloadmanaverse-418d749f0d4889904d0b91e825a87e70a08d134c.tar.gz
manaverse-418d749f0d4889904d0b91e825a87e70a08d134c.tar.bz2
manaverse-418d749f0d4889904d0b91e825a87e70a08d134c.tar.xz
manaverse-418d749f0d4889904d0b91e825a87e70a08d134c.zip
Remove getter for partyHandler.
Diffstat (limited to 'src/notifymanager.cpp')
-rw-r--r--src/notifymanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notifymanager.cpp b/src/notifymanager.cpp
index 4d885c86d..3ec039260 100644
--- a/src/notifymanager.cpp
+++ b/src/notifymanager.cpp
@@ -84,7 +84,7 @@ namespace NotifyManager
case NotifyFlags::PARTY:
{
- ChatTab *const tab = Net::getPartyHandler()->getTab();
+ ChatTab *const tab = partyHandler->getTab();
chatLog(tab, gettext(info.text));
break;
}
@@ -140,7 +140,7 @@ namespace NotifyManager
}
case NotifyFlags::PARTY_STRING:
{
- ChatTab *const tab = Net::getPartyHandler()->getTab();
+ ChatTab *const tab = partyHandler->getTab();
chatLog(tab, strprintf(gettext(info.text), str.c_str()));
break;
}