diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-12 15:39:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-12 15:39:40 +0300 |
commit | 1d689e6492993a66935c7b36ff9827f6c170e166 (patch) | |
tree | 0c5dfb00414946b2a83a147da0d5180992d88bd9 /src/gui/widgets/tabs/chat/gmtab.cpp | |
parent | 2b6198dc9c4a52094bad3b39dbfb06c168a55ca2 (diff) | |
download | manaplus-1d689e6492993a66935c7b36ff9827f6c170e166.tar.gz manaplus-1d689e6492993a66935c7b36ff9827f6c170e166.tar.bz2 manaplus-1d689e6492993a66935c7b36ff9827f6c170e166.tar.xz manaplus-1d689e6492993a66935c7b36ff9827f6c170e166.zip |
Simplify chat tab colors usage.
Diffstat (limited to 'src/gui/widgets/tabs/chat/gmtab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/gmtab.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/widgets/tabs/chat/gmtab.cpp b/src/gui/widgets/tabs/chat/gmtab.cpp index 77dc0b065..567aeeb4a 100644 --- a/src/gui/widgets/tabs/chat/gmtab.cpp +++ b/src/gui/widgets/tabs/chat/gmtab.cpp @@ -32,12 +32,7 @@ GmTab::GmTab(const Widget2 *const widget) : // TRANSLATORS: gb tab name ChatTab(widget, _("GM"), "", ChatTabType::GM) { - setTabColor(&getThemeColor(Theme::GM_CHAT_TAB), - &getThemeColor(Theme::GM_CHAT_TAB_OUTLINE)); - setHighlightedTabColor(&getThemeColor(Theme::GM_CHAT_TAB_HIGHLIGHTED), - &getThemeColor(Theme::GM_CHAT_TAB_HIGHLIGHTED_OUTLINE)); - setSelectedTabColor(&getThemeColor(Theme::GM_CHAT_TAB_SELECTED), - &getThemeColor(Theme::GM_CHAT_TAB_SELECTED_OUTLINE)); + setTabColors(Theme::GM_CHAT_TAB); } GmTab::~GmTab() |