From fa59cd8c7e31afce5b5233e844084f881a411446 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 30 Nov 2019 23:42:28 +0100 Subject: Change size of body item rows depending on how many lines the text has --- src/plugins/Fourchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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"]; -- cgit v1.2.3