summaryrefslogtreecommitdiff
path: root/src/gui/models/skillmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models/skillmodel.cpp')
-rw-r--r--src/gui/models/skillmodel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/models/skillmodel.cpp b/src/gui/models/skillmodel.cpp
index 0dcf9cedd..4d22280d8 100644
--- a/src/gui/models/skillmodel.cpp
+++ b/src/gui/models/skillmodel.cpp
@@ -47,8 +47,7 @@ std::string SkillModel::getElementAt(int i)
const SkillInfo *const info = getSkillAt(i);
if (info != nullptr)
return info->data->name;
- else
- return std::string();
+ return std::string();
}
void SkillModel::updateVisibilities()