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 e1dbf0a89..1064a8875 100644 --- a/src/gui/widgets/namesmodel.h +++ b/src/gui/widgets/namesmodel.h @@ -42,6 +42,9 @@ class NamesModel : public gcn::ListModel size_t size() { return mNames.size(); } + void clear() + { mNames.clear(); } + protected: StringVect mNames; }; |