summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/partytab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-12 15:39:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-12 15:39:40 +0300
commit1d689e6492993a66935c7b36ff9827f6c170e166 (patch)
tree0c5dfb00414946b2a83a147da0d5180992d88bd9 /src/gui/widgets/tabs/chat/partytab.cpp
parent2b6198dc9c4a52094bad3b39dbfb06c168a55ca2 (diff)
downloadplus-1d689e6492993a66935c7b36ff9827f6c170e166.tar.gz
plus-1d689e6492993a66935c7b36ff9827f6c170e166.tar.bz2
plus-1d689e6492993a66935c7b36ff9827f6c170e166.tar.xz
plus-1d689e6492993a66935c7b36ff9827f6c170e166.zip
Simplify chat tab colors usage.
Diffstat (limited to 'src/gui/widgets/tabs/chat/partytab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/partytab.cpp8
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);
}