From 527030076ddebe09deb05284c05a977d6ff8e760 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Jun 2013 21:07:00 +0300 Subject: Improve skillmodel. --- src/gui/widgets/skillmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3-70-g09d2