diff options
Diffstat (limited to 'src/gui/models/itemsmodel.h')
-rw-r--r-- | src/gui/models/itemsmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/models/itemsmodel.h b/src/gui/models/itemsmodel.h index 032a090eb..8fea34167 100644 --- a/src/gui/models/itemsmodel.h +++ b/src/gui/models/itemsmodel.h @@ -67,12 +67,12 @@ class ItemsModal final : public ListModel ~ItemsModal() { } - int getNumberOfElements() override final + int getNumberOfElements() final { return CAST_S32(mStrings.size()); } - std::string getElementAt(int i) override final + std::string getElementAt(int i) final { if (i < 0 || i >= getNumberOfElements()) return "???"; |