diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-30 16:06:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-30 16:59:12 +0300 |
commit | 60d90692e487948b77edcac63acbef34254cea5b (patch) | |
tree | c2ca72f720f835099bc65c2832d5c7df3d92abbd /src/gui/widgets/guitable.cpp | |
parent | 38fe5f43b5ac41e41debed4868e81b4b4bf839ac (diff) | |
download | manaplus-60d90692e487948b77edcac63acbef34254cea5b.tar.gz manaplus-60d90692e487948b77edcac63acbef34254cea5b.tar.bz2 manaplus-60d90692e487948b77edcac63acbef34254cea5b.tar.xz manaplus-60d90692e487948b77edcac63acbef34254cea5b.zip |
remove duplicate variables.
Diffstat (limited to 'src/gui/widgets/guitable.cpp')
-rw-r--r-- | src/gui/widgets/guitable.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp index 473899b29..638f310bd 100644 --- a/src/gui/widgets/guitable.cpp +++ b/src/gui/widgets/guitable.cpp @@ -100,7 +100,6 @@ GuiTable::GuiTable(const Widget2 *const widget, mModel(nullptr), mTopWidget(nullptr), mActionListeners(), - mBackgroundColor(getThemeColor(Theme::BACKGROUND)), mHighlightColor(getThemeColor(Theme::HIGHLIGHT)), mSelectedRow(0), mSelectedColumn(0), @@ -108,6 +107,8 @@ GuiTable::GuiTable(const Widget2 *const widget, mWrappingEnabled(false), mOpaque(opacity) { + mBackgroundColor = getThemeColor(Theme::BACKGROUND); + setModel(initial_model); setFocusable(true); |