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/itemshortcutcontainer.cpp | |
parent | 38fe5f43b5ac41e41debed4868e81b4b4bf839ac (diff) | |
download | plus-60d90692e487948b77edcac63acbef34254cea5b.tar.gz plus-60d90692e487948b77edcac63acbef34254cea5b.tar.bz2 plus-60d90692e487948b77edcac63acbef34254cea5b.tar.xz plus-60d90692e487948b77edcac63acbef34254cea5b.zip |
remove duplicate variables.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index 3d36caafe..c42074d6b 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -57,12 +57,12 @@ ItemShortcutContainer::ItemShortcutContainer(const unsigned number) : mEquipedColor(getThemeColor(Theme::ITEM_EQUIPPED)), mEquipedColor2(getThemeColor(Theme::ITEM_EQUIPPED_OUTLINE)), mUnEquipedColor(getThemeColor(Theme::ITEM_NOT_EQUIPPED)), - mUnEquipedColor2(getThemeColor(Theme::ITEM_NOT_EQUIPPED_OUTLINE)), - mForegroundColor2(getThemeColor(Theme::TEXT_OUTLINE)) + mUnEquipedColor2(getThemeColor(Theme::ITEM_NOT_EQUIPPED_OUTLINE)) { addMouseListener(this); addWidgetListener(this); + mForegroundColor2 = getThemeColor(Theme::TEXT_OUTLINE); mBackgroundImg = Theme::getImageFromThemeXml( "item_shortcut_background.xml", "background.xml"); if (itemShortcut[mNumber]) |