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/Chatbar.cpp | |
parent | 34e1d3d9d40f9b9139b801de99292a563c3c9a96 (diff) |
Add image preview and url/image open in browser
Diffstat (limited to 'src/Chatbar.cpp')
-rw-r--r-- | src/Chatbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chatbar.cpp b/src/Chatbar.cpp index bd510f7..aab13a0 100644 --- a/src/Chatbar.cpp +++ b/src/Chatbar.cpp @@ -155,11 +155,11 @@ namespace dchat } } - void Chatbar::processEvent(const sf::Event &event, Channel *channel) + void Chatbar::processEvent(const sf::Event &event, Cache &cache, Channel *channel) { if(!focused) return; - text.processEvent(event); + text.processEvent(event, cache); if(event.type == sf::Event::TextEntered) { if(event.text.unicode == 13) // enter |