summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-23 19:57:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-26 22:51:50 +0300
commit072f39dfc98c8b7a5a584b0381972552617f07f0 (patch)
treea7f0ccf7011d46de8ab2979b78757f6b3c84dabb /src/gui/models
parentaa8ee33b2f560fd5d230bb6399de50b4470e287e (diff)
downloadmanaplus-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.gz
manaplus-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.bz2
manaplus-072f39dfc98c8b7a5a584b0381972552617f07f0.tar.xz
manaplus-072f39dfc98c8b7a5a584b0381972552617f07f0.zip
Add incomplete mail window.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/extendednamesmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/models/extendednamesmodel.h b/src/gui/models/extendednamesmodel.h
index 76f30bf8f..dc0ee770d 100644
--- a/src/gui/models/extendednamesmodel.h
+++ b/src/gui/models/extendednamesmodel.h
@@ -49,6 +49,9 @@ class ExtendedNamesModel notfinal : public ExtendedListModel
size_t size() A_WARN_UNUSED
{ return mNames.size(); }
+ void add(const std::string &str)
+ { mNames.push_back(str); }
+
void clear();
protected: