diff options
Diffstat (limited to 'src/gui/widgets/tabs/chat/partytab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/partytab.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/partytab.cpp b/src/gui/widgets/tabs/chat/partytab.cpp index ee8099623..7d928be17 100644 --- a/src/gui/widgets/tabs/chat/partytab.cpp +++ b/src/gui/widgets/tabs/chat/partytab.cpp @@ -45,13 +45,7 @@ PartyTab::PartyTab(const Widget2 *const widget) : // TRANSLATORS: party chat tab name ChatTab(widget, _("Party"), "", ChatTabType::PARTY) { - setTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB), - &getThemeColor(Theme::PARTY_CHAT_TAB_OUTLINE)); - setHighlightedTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB_HIGHLIGHTED), - &getThemeColor(Theme::PARTY_CHAT_TAB_HIGHLIGHTED_OUTLINE)); - setSelectedTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB_SELECTED), - &getThemeColor(Theme::PARTY_CHAT_TAB_SELECTED_OUTLINE)); - + setTabColors(Theme::PARTY_CHAT_TAB); mShowOnline = config.getBoolValue("showPartyOnline"); config.addListener("showPartyOnline", this); } |