diff options
Diffstat (limited to 'src/ChannelSidePanel.cpp')
-rw-r--r-- | src/ChannelSidePanel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChannelSidePanel.cpp b/src/ChannelSidePanel.cpp index a85dbdc..eb5c74c 100644 --- a/src/ChannelSidePanel.cpp +++ b/src/ChannelSidePanel.cpp @@ -20,6 +20,11 @@ namespace dchat channels.push_back(channel); } + void ChannelSidePanel::removeAllChannels() + { + channels.clear(); + } + void ChannelSidePanel::draw(sf::RenderWindow &window) { auto windowSize = window.getSize(); |