From 52039744fa2e5e116548e5236cd8ba5f5d81702a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Dec 2017 22:36:00 +0300 Subject: Remove default parameters from widget2. --- src/gui/widgets/tabs/chat/chattab.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/widgets/tabs/chat') diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h index 6e51ca172..aeefe43db 100644 --- a/src/gui/widgets/tabs/chat/chattab.h +++ b/src/gui/widgets/tabs/chat/chattab.h @@ -48,12 +48,12 @@ class ScrollArea; } #define setTabColors(name) \ - setTabColor(&getThemeColor(name), \ - &getThemeColor(name##_OUTLINE)); \ - setHighlightedTabColor(&getThemeColor(name##_HIGHLIGHTED), \ - &getThemeColor(name##_HIGHLIGHTED_OUTLINE)); \ - setSelectedTabColor(&getThemeColor(name##_SELECTED), \ - &getThemeColor(name##_SELECTED_OUTLINE)) + setTabColor(&getThemeColor(name, 255U), \ + &getThemeColor(name##_OUTLINE, 255U)); \ + setHighlightedTabColor(&getThemeColor(name##_HIGHLIGHTED, 255U), \ + &getThemeColor(name##_HIGHLIGHTED_OUTLINE, 255U)); \ + setSelectedTabColor(&getThemeColor(name##_SELECTED, 255U), \ + &getThemeColor(name##_SELECTED_OUTLINE, 255U)) /** * A tab for the chat window. This is special to ease chat handling. -- cgit v1.2.3-70-g09d2