summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-10 11:50:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-10 11:50:29 +0300
commit201376c3f5858ab5432cf849d5474e037c071393 (patch)
tree6d564d943c0b58bf31cc35a41159601c98bfcbb8 /src/gui/widgets/itemshortcutcontainer.cpp
parent03879469c21e64aa2c8a8fe5c5102ce1a7ed1629 (diff)
downloadmanaplus-201376c3f5858ab5432cf849d5474e037c071393.tar.gz
manaplus-201376c3f5858ab5432cf849d5474e037c071393.tar.bz2
manaplus-201376c3f5858ab5432cf849d5474e037c071393.tar.xz
manaplus-201376c3f5858ab5432cf849d5474e037c071393.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index 4ece1c853..ff36d8805 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -55,7 +55,8 @@ 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))
+ mUnEquipedColor2(getThemeColor(Theme::ITEM_NOT_EQUIPPED_OUTLINE)),
+ mForegroundColor2(getThemeColor(Theme::TEXT_OUTLINE))
{
addMouseListener(this);
addWidgetListener(this);
@@ -79,7 +80,6 @@ ItemShortcutContainer::ItemShortcutContainer(const unsigned number) :
mBoxWidth = 1;
}
mForegroundColor = getThemeColor(Theme::TEXT);
- mForegroundColor2 = getThemeColor(Theme::TEXT_OUTLINE);
}
ItemShortcutContainer::~ItemShortcutContainer()