diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-01 20:49:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-02 00:37:51 +0300 |
commit | 4df121e6dcdf53436f50ce81dd60096ce0138a2c (patch) | |
tree | 7cadc707bb49e4c148ba9c182075697a9643e20a /src/gui/widgets/spellshortcutcontainer.cpp | |
parent | ed3410d7eb61593a2235ddba97ce257c85e405a6 (diff) | |
download | manaverse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.gz manaverse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.bz2 manaverse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.xz manaverse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/spellshortcutcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp index ec79ccb93..2a3799ca8 100644 --- a/src/gui/widgets/spellshortcutcontainer.cpp +++ b/src/gui/widgets/spellshortcutcontainer.cpp @@ -279,7 +279,7 @@ void SpellShortcutContainer::mouseMoved(gcn::MouseEvent &event) (mNumber * SPELL_SHORTCUT_ITEMS) + index); mSpellPopup->setVisible(false); - TextCommand *const spell = spellManager->getSpell(itemId); + const TextCommand *const spell = spellManager->getSpell(itemId); if (spell && !spell->isEmpty()) { mSpellPopup->setItem(spell); |