summaryrefslogtreecommitdiff
path: root/src/gui/widgets/extendednamesmodel.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-05 00:53:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-05 00:53:33 +0300
commit987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2 (patch)
tree1ae9449d801815fe89476776d98427e61d702d4c /src/gui/widgets/extendednamesmodel.cpp
parentf24ddad3fa0f843eb29a281426151cf1a5f31f4b (diff)
downloadmanaverse-987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2.tar.gz
manaverse-987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2.tar.bz2
manaverse-987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2.tar.xz
manaverse-987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2.zip
another some const fixes.
Diffstat (limited to 'src/gui/widgets/extendednamesmodel.cpp')
-rw-r--r--src/gui/widgets/extendednamesmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/extendednamesmodel.cpp b/src/gui/widgets/extendednamesmodel.cpp
index 11c594321..083ce938e 100644
--- a/src/gui/widgets/extendednamesmodel.cpp
+++ b/src/gui/widgets/extendednamesmodel.cpp
@@ -51,7 +51,7 @@ std::string ExtendedNamesModel::getElementAt(int i)
return mNames[i];
}
-Image *ExtendedNamesModel::getImageAt(int i)
+const Image *ExtendedNamesModel::getImageAt(int i)
{
if (i >= static_cast<int>(mImages.size()) || i < 0)
return nullptr;