aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Fourchan.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-11-30 23:42:28 +0100
committerdec05eba <dec05eba@protonmail.com>2019-11-30 23:42:28 +0100
commitfa59cd8c7e31afce5b5233e844084f881a411446 (patch)
tree3432b673dcedd585631a3548f144d57527905669 /src/plugins/Fourchan.cpp
parente67b9899feb72027b246e3b63ce5aa0ccae2dd16 (diff)
Change size of body item rows depending on how many lines the text has
Diffstat (limited to 'src/plugins/Fourchan.cpp')
-rw-r--r--src/plugins/Fourchan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Fourchan.cpp b/src/plugins/Fourchan.cpp
index 5a8cada..58a0a57 100644
--- a/src/plugins/Fourchan.cpp
+++ b/src/plugins/Fourchan.cpp
@@ -617,7 +617,7 @@ namespace QuickMedia {
);
html_unescape_sequences(comment_text);
BodyItem *body_item = result_items[body_item_index].get();
- body_item->title = std::move(comment_text);
+ body_item->set_title(std::move(comment_text));
const Json::Value &ext = post["ext"];
const Json::Value &tim = post["tim"];