summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/socialpartytab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 12:18:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 14:52:11 +0300
commitbb9ed14fc1bf7dc20f1e951e67bb359c273033a3 (patch)
treec46e7e5708d3a2058233a41a08995e6c861703ea /src/gui/widgets/tabs/socialpartytab.h
parent10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4 (diff)
downloadmanaverse-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.gz
manaverse-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.bz2
manaverse-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.xz
manaverse-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/tabs/socialpartytab.h')
-rw-r--r--src/gui/widgets/tabs/socialpartytab.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h
index 247414851..847a43d42 100644
--- a/src/gui/widgets/tabs/socialpartytab.h
+++ b/src/gui/widgets/tabs/socialpartytab.h
@@ -55,7 +55,8 @@ class SocialPartyTab final : public SocialTab,
setHighlightedTabColor(&getThemeColor(
Theme::PARTY_SOCIAL_TAB_HIGHLIGHTED), &getThemeColor(
Theme::PARTY_SOCIAL_TAB_HIGHLIGHTED_OUTLINE));
- setSelectedTabColor(&getThemeColor(Theme::PARTY_SOCIAL_TAB_SELECTED),
+ setSelectedTabColor(&getThemeColor(
+ Theme::PARTY_SOCIAL_TAB_SELECTED),
&getThemeColor(Theme::PARTY_SOCIAL_TAB_SELECTED_OUTLINE));
createControls(party, showBackground);
@@ -80,8 +81,10 @@ class SocialPartyTab final : public SocialTab,
if (localChatTab)
{
// TRANSLATORS: chat message
- localChatTab->chatLog(strprintf(_("Invited user %s to party."),
- name.c_str()), ChatMsgType::BY_SERVER);
+ localChatTab->chatLog(strprintf(
+ _("Invited user %s to party."),
+ name.c_str()),
+ ChatMsgType::BY_SERVER);
}
mInviteDialog = nullptr;
}
@@ -95,8 +98,10 @@ class SocialPartyTab final : public SocialTab,
if (localChatTab)
{
// TRANSLATORS: tab in social window
- localChatTab->chatLog(strprintf(_("Party %s quit requested."),
- mParty->getName().c_str()), ChatMsgType::BY_SERVER);
+ localChatTab->chatLog(strprintf(
+ _("Party %s quit requested."),
+ mParty->getName().c_str()),
+ ChatMsgType::BY_SERVER);
}
mConfirmDialog = nullptr;
}
@@ -129,7 +134,8 @@ class SocialPartyTab final : public SocialTab,
mConfirmDialog->addActionListener(this);
}
- void buildCounter(const int online0 A_UNUSED, const int total0 A_UNUSED)
+ void buildCounter(const int online0 A_UNUSED,
+ const int total0 A_UNUSED)
{
if (!player_node)
return;