diff options
Diffstat (limited to 'src/gui/models/extendednamesmodel.h')
-rw-r--r-- | src/gui/models/extendednamesmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/models/extendednamesmodel.h b/src/gui/models/extendednamesmodel.h index 76f30bf8f..dc0ee770d 100644 --- a/src/gui/models/extendednamesmodel.h +++ b/src/gui/models/extendednamesmodel.h @@ -49,6 +49,9 @@ class ExtendedNamesModel notfinal : public ExtendedListModel size_t size() A_WARN_UNUSED { return mNames.size(); } + void add(const std::string &str) + { mNames.push_back(str); } + void clear(); protected: |