diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-25 14:34:15 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-25 14:34:15 +0200 |
commit | 0e91dae9223a0b82085e28c42483122681106100 (patch) | |
tree | 8d9e189898eb35abedbe126468248fe725617f31 /include | |
parent | Resize text input vertically to fit the contents (diff) | |
download | nheko-0e91dae9223a0b82085e28c42483122681106100.tar.xz |
Erase items using the key
Diffstat (limited to 'include')
-rw-r--r-- | include/CommunitiesList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/CommunitiesList.h b/include/CommunitiesList.h index 8bb6aaad..d03d32a2 100644 --- a/include/CommunitiesList.h +++ b/include/CommunitiesList.h @@ -20,7 +20,7 @@ public: void clear() { communities_.clear(); } void addCommunity(QSharedPointer<Community> community, const QString &id); - void removeCommunity(const QString &id); + void removeCommunity(const QString &id) { communities_.erase(id); }; signals: void communityChanged(const QString &id); |