diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-09 14:49:13 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-13 03:43:19 +0200 |
commit | 060db5c6cbd02e684a0c98c0f045da242b6ab218 (patch) | |
tree | f380f5eb398a3aa83f5c2c413c041137503c9589 /src/plugins/ImageBoard.cpp | |
parent | e2a510e8c94aae88aab6293659b1a0786c799bc2 (diff) |
Add lbry, attempt to fix 4chan posting when captcha is no-op
Diffstat (limited to 'src/plugins/ImageBoard.cpp')
-rw-r--r-- | src/plugins/ImageBoard.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/ImageBoard.cpp b/src/plugins/ImageBoard.cpp index a2ffca7..f813068 100644 --- a/src/plugins/ImageBoard.cpp +++ b/src/plugins/ImageBoard.cpp @@ -1,6 +1,11 @@ #include "../../plugins/ImageBoard.hpp" +#include <SFML/Window/Clipboard.hpp> namespace QuickMedia { + void ImageBoardThreadPage::copy_to_clipboard(const BodyItem *body_item) const { + sf::Clipboard::setString(sf::String::fromUtf8(body_item->get_description().begin(), body_item->get_description().end())); + } + std::unique_ptr<RelatedVideosPage> ImageBoardThreadPage::create_related_videos_page(Program*) { return nullptr; } |