summaryrefslogtreecommitdiff
path: root/src/gui/widgets/spellshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-06 01:30:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-06 13:08:48 +0300
commit7cc864e68935b035d69d68aba2f8ad38ce275d5a (patch)
treecb7718bab03b0249f3cf034c9490c8aa3c919fb7 /src/gui/widgets/spellshortcutcontainer.cpp
parent55cfc856a68604c93779ed8017f052b54b2e7c03 (diff)
downloadmanaplus-7cc864e68935b035d69d68aba2f8ad38ce275d5a.tar.gz
manaplus-7cc864e68935b035d69d68aba2f8ad38ce275d5a.tar.bz2
manaplus-7cc864e68935b035d69d68aba2f8ad38ce275d5a.tar.xz
manaplus-7cc864e68935b035d69d68aba2f8ad38ce275d5a.zip
fix code style and some minor issues.
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index 436f0c583..afd4e14f4 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -47,7 +47,6 @@
SpellShortcutContainer::SpellShortcutContainer(const unsigned number) :
ShortcutContainer(),
- mSpellMoved(nullptr),
mSpellPopup(new SpellPopup),
mNumber(number),
mForegroundColor2(getThemeColor(Theme::TEXT_OUTLINE)),
@@ -239,7 +238,6 @@ void SpellShortcutContainer::mouseReleased(gcn::MouseEvent &event)
if (dragDrop.getSource() == DRAGDROP_SOURCE_SPELLS)
{
const int oldIndex = dragDrop.getTag();
- const int oldItemId = getItemByIndex(oldIndex);
const int idx = mNumber * SPELL_SHORTCUT_ITEMS;
if (spellManager)
{