diff options
Diffstat (limited to 'src/gui/widgets/namesmodel.h')
-rw-r--r-- | src/gui/widgets/namesmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/namesmodel.h b/src/gui/widgets/namesmodel.h index 76f668f10..c64c6ea26 100644 --- a/src/gui/widgets/namesmodel.h +++ b/src/gui/widgets/namesmodel.h @@ -49,6 +49,9 @@ class NamesModel : public gcn::ListModel void clear() { mNames.clear(); } + void add(const std::string &str) + { mNames.push_back(str); } + void fillFromArray(const char *const *const arr, std::size_t size); protected: |