diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-20 11:15:15 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-20 11:15:18 +0200 |
commit | 4c392178dac1de9a299beb78989c4e0f3fecade9 (patch) | |
tree | 552b7a7dfa58e8193705934059e28461815bb951 /src/Channel.cpp | |
parent | 34e1d3d9d40f9b9139b801de99292a563c3c9a96 (diff) |
Add image preview and url/image open in browser
Diffstat (limited to 'src/Channel.cpp')
-rw-r--r-- | src/Channel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Channel.cpp b/src/Channel.cpp index f67eb4c..0bacbc3 100644 --- a/src/Channel.cpp +++ b/src/Channel.cpp @@ -196,10 +196,10 @@ namespace dchat } } - void Channel::processEvent(const sf::Event &event) + void Channel::processEvent(const sf::Event &event, Cache &cache) { - chatbar.processEvent(event, this); - messageBoard.processEvent(event); + chatbar.processEvent(event, cache, this); + messageBoard.processEvent(event, cache); } void Channel::draw(sf::RenderWindow &window, Cache &cache) |