summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-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