summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-02 16:21:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 16:35:24 +0300
commite0ae701192472d7dd1ae80d78308c4f4a9ef4ec6 (patch)
tree9765a6516e4a6e284ed7b589090db7f1f4cd80ea /src/gui
parent962f182fcc989ec587282e44f889188ce241ba31 (diff)
downloadmv-e0ae701192472d7dd1ae80d78308c4f4a9ef4ec6.tar.gz
mv-e0ae701192472d7dd1ae80d78308c4f4a9ef4ec6.tar.bz2
mv-e0ae701192472d7dd1ae80d78308c4f4a9ef4ec6.tar.xz
mv-e0ae701192472d7dd1ae80d78308c4f4a9ef4ec6.zip
Add const to more classes.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/avatarlistbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.h b/src/gui/widgets/avatarlistbox.h
index 0148a24d0..995ffebe6 100644
--- a/src/gui/widgets/avatarlistbox.h
+++ b/src/gui/widgets/avatarlistbox.h
@@ -37,7 +37,7 @@ class Image;
class AvatarListModel : public gcn::ListModel
{
public:
- virtual Avatar *getAvatarAt(int i) = 0;
+ virtual Avatar *getAvatarAt(const int i) = 0;
std::string getElementAt(int i)
{ return getAvatarAt(i)->getName(); }