diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-27 22:44:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-27 22:53:48 +0300 |
commit | 5023a1d0b96071a35547dcc309ce45ba6a17eec1 (patch) | |
tree | 8dbd39ef0b498979a6922634926183bd871cc999 /src/gui/widgets | |
parent | 481bbd254103fc9d6dc98b19a5226f8868c8c5d9 (diff) | |
download | plus-5023a1d0b96071a35547dcc309ce45ba6a17eec1.tar.gz plus-5023a1d0b96071a35547dcc309ce45ba6a17eec1.tar.bz2 plus-5023a1d0b96071a35547dcc309ce45ba6a17eec1.tar.xz plus-5023a1d0b96071a35547dcc309ce45ba6a17eec1.zip |
Fix compilation.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/namesmodel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/namesmodel.h b/src/gui/widgets/namesmodel.h index 3f9f10b52..dc694fc46 100644 --- a/src/gui/widgets/namesmodel.h +++ b/src/gui/widgets/namesmodel.h @@ -38,6 +38,12 @@ class NamesModel : public gcn::ListModel virtual std::string getElementAt(int i); + std::vector<std::string> &getNames() + { return mNames; } + + size_t size() + { return mNames.size(); } + protected: std::vector<std::string> mNames; }; |