diff options
Diffstat (limited to 'src/gui/widgets/skillmodel.h')
-rw-r--r-- | src/gui/widgets/skillmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/skillmodel.h b/src/gui/widgets/skillmodel.h index 89f36b72f..733407eaa 100644 --- a/src/gui/widgets/skillmodel.h +++ b/src/gui/widgets/skillmodel.h @@ -37,9 +37,9 @@ class SkillModel final : public gcn::ListModel SkillInfo *getSkillAt(const int i) const; - std::string getElementAt(int i) override; + std::string getElementAt(int i) override final; - int getNumberOfElements() override + int getNumberOfElements() override final { return static_cast<int>(mVisibleSkills.size()); } void addSkill(SkillInfo *const info) |