summaryrefslogtreecommitdiff
path: root/src/gui/widgets/spellshortcutcontainer.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/spellshortcutcontainer.cpp
parent03879469c21e64aa2c8a8fe5c5102ce1a7ed1629 (diff)
downloadmanaverse-201376c3f5858ab5432cf849d5474e037c071393.tar.gz
manaverse-201376c3f5858ab5432cf849d5474e037c071393.tar.bz2
manaverse-201376c3f5858ab5432cf849d5474e037c071393.tar.xz
manaverse-201376c3f5858ab5432cf849d5474e037c071393.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index f03f1d4ca..78c3cec23 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -49,6 +49,7 @@ SpellShortcutContainer::SpellShortcutContainer(const unsigned number) :
mSpellMoved(nullptr),
mSpellPopup(new SpellPopup),
mNumber(number),
+ mForegroundColor2(getThemeColor(Theme::TEXT_OUTLINE)),
mSpellClicked(false)
{
addMouseListener(this);
@@ -73,7 +74,6 @@ SpellShortcutContainer::SpellShortcutContainer(const unsigned number) :
mBoxWidth = 1;
}
mForegroundColor = getThemeColor(Theme::TEXT);
- mForegroundColor2 = getThemeColor(Theme::TEXT_OUTLINE);
}
SpellShortcutContainer::~SpellShortcutContainer()