summaryrefslogtreecommitdiff
path: root/src/gui/spellpopup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
commit1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch)
tree68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/gui/spellpopup.h
parent41044107cc0a17125ebd806c9934b6eb636dafe6 (diff)
downloadmv-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz
mv-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2
mv-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz
mv-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip
Add const to more classes.
Diffstat (limited to 'src/gui/spellpopup.h')
-rw-r--r--src/gui/spellpopup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/spellpopup.h b/src/gui/spellpopup.h
index 0cb66ca9a..403112e85 100644
--- a/src/gui/spellpopup.h
+++ b/src/gui/spellpopup.h
@@ -56,12 +56,12 @@ class SpellPopup : public Popup
/**
* Sets the info to be displayed given a particular item.
*/
- void setItem(TextCommand *spell);
+ void setItem(const TextCommand *const spell);
/**
* Sets the location to display the item popup.
*/
- void view(int x, int y);
+ void view(const int x, const int y);
void mouseMoved(gcn::MouseEvent &mouseEvent);