diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-29 23:40:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-29 23:40:41 +0300 |
commit | 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch) | |
tree | 68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/gui/spellpopup.cpp | |
parent | 41044107cc0a17125ebd806c9934b6eb636dafe6 (diff) | |
download | manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2 manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/spellpopup.cpp')
-rw-r--r-- | src/gui/spellpopup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/spellpopup.cpp b/src/gui/spellpopup.cpp index af7a2a619..9267e76df 100644 --- a/src/gui/spellpopup.cpp +++ b/src/gui/spellpopup.cpp @@ -55,7 +55,7 @@ SpellPopup::~SpellPopup() { } -void SpellPopup::setItem(TextCommand *spell) +void SpellPopup::setItem(const TextCommand *const spell) { if (spell) { @@ -93,7 +93,7 @@ void SpellPopup::setItem(TextCommand *spell) } } -void SpellPopup::view(int x, int y) +void SpellPopup::view(const int x, const int y) { const int distance = 20; |