diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-05 12:51:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-05 12:51:55 +0300 |
commit | 657a5b3dbbecbe000324579f1fc26f1519459057 (patch) | |
tree | 480f3f3dfa6b9cb74c7399d11b2a6e5a84993925 /src/gui/widgets/namesmodel.h | |
parent | f677e2a536d84c1db5145db80b9e9a7540cfbb6d (diff) | |
download | mv-657a5b3dbbecbe000324579f1fc26f1519459057.tar.gz mv-657a5b3dbbecbe000324579f1fc26f1519459057.tar.bz2 mv-657a5b3dbbecbe000324579f1fc26f1519459057.tar.xz mv-657a5b3dbbecbe000324579f1fc26f1519459057.zip |
use new control for scale.
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: |