From 657a5b3dbbecbe000324579f1fc26f1519459057 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Feb 2014 12:51:55 +0300 Subject: use new control for scale. --- src/gui/widgets/namesmodel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/widgets/namesmodel.h') 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: -- cgit v1.2.3-70-g09d2