diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 22:36:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 22:36:00 +0300 |
commit | 52039744fa2e5e116548e5236cd8ba5f5d81702a (patch) | |
tree | d367514cfc2a00c0b1f181dbfb5a8c3b0ca5785d /src/gui/widgets/guitable.cpp | |
parent | 35d796b927447760772d2720a221e21fdf9fd10e (diff) | |
download | manaverse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.gz manaverse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.bz2 manaverse-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.xz manaverse-52039744fa2e5e116548e5236cd8ba5f5d81702a.zip |
Remove default parameters from widget2.
Diffstat (limited to 'src/gui/widgets/guitable.cpp')
-rw-r--r-- | src/gui/widgets/guitable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp index 4a0f88246..082d3445c 100644 --- a/src/gui/widgets/guitable.cpp +++ b/src/gui/widgets/guitable.cpp @@ -49,7 +49,7 @@ GuiTable::GuiTable(const Widget2 *const widget, mModel(nullptr), mTopWidget(nullptr), mActionListeners2(), - mHighlightColor(getThemeColor(ThemeColorId::HIGHLIGHT)), + mHighlightColor(getThemeColor(ThemeColorId::HIGHLIGHT, 255U)), mSelectedRow(-1), mSelectedColumn(-1), mLinewiseMode(false), @@ -58,7 +58,7 @@ GuiTable::GuiTable(const Widget2 *const widget, mSelectableGui(true) { mAllowLogic = false; - mBackgroundColor = getThemeColor(ThemeColorId::BACKGROUND); + mBackgroundColor = getThemeColor(ThemeColorId::BACKGROUND, 255U); setModel(initial_model); setFocusable(true); |