summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/emulateguildtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/emulateguildtab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.cpp b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
index a3d41d481..2d24fee64 100644
--- a/src/gui/widgets/tabs/chat/emulateguildtab.cpp
+++ b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
@@ -38,12 +38,7 @@ EmulateGuildTab::EmulateGuildTab(const Widget2 *const widget) :
// TRANSLATORS: guild chat tab name
ChatTab(widget, _("Guild"), "", ChatTabType::GUILD)
{
- setTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB),
- &getThemeColor(Theme::GUILD_CHAT_TAB_OUTLINE));
- setHighlightedTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB_HIGHLIGHTED),
- &getThemeColor(Theme::GUILD_CHAT_TAB_HIGHLIGHTED_OUTLINE));
- setSelectedTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB_SELECTED),
- &getThemeColor(Theme::GUILD_CHAT_TAB_SELECTED_OUTLINE));
+ setTabColors(Theme::GUILD_CHAT_TAB);
mShowOnline = config.getBoolValue("showGuildOnline");
config.addListener("showGuildOnline", this);
}