summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-14 21:07:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-14 21:07:00 +0300
commit527030076ddebe09deb05284c05a977d6ff8e760 (patch)
tree6dad9fee14cc61d421e760dadccd5f19a58ac64d
parent8d22feedb562b6ccd688bab2bbe90d17fa788207 (diff)
downloadmanaverse-527030076ddebe09deb05284c05a977d6ff8e760.tar.gz
manaverse-527030076ddebe09deb05284c05a977d6ff8e760.tar.bz2
manaverse-527030076ddebe09deb05284c05a977d6ff8e760.tar.xz
manaverse-527030076ddebe09deb05284c05a977d6ff8e760.zip
Improve skillmodel.
-rw-r--r--src/gui/widgets/skillmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/skillmodel.cpp b/src/gui/widgets/skillmodel.cpp
index f13604dea..1792c41fd 100644
--- a/src/gui/widgets/skillmodel.cpp
+++ b/src/gui/widgets/skillmodel.cpp
@@ -75,7 +75,7 @@ std::string SkillModel::getElementAt(int i)
if (getSkillAt(i))
return getSkillAt(i)->data->name;
else
- return "";
+ return std::string();
}
void SkillModel::updateVisibilities()