From ede1a8476acd54941c20b809455ba62b30302a4e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 7 Nov 2022 01:01:28 +0100 Subject: Add option to limit number of lines of text drawn in Text class --- src/BodyItem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/BodyItem.cpp') diff --git a/src/BodyItem.cpp b/src/BodyItem.cpp index 64d18d4..d62efea 100644 --- a/src/BodyItem.cpp +++ b/src/BodyItem.cpp @@ -30,6 +30,8 @@ namespace QuickMedia { BodyItem& BodyItem::operator=(const BodyItem &other) { url = other.url; thumbnail_url = other.thumbnail_url; + title_max_lines = other.title_max_lines; + description_max_lines = other.description_max_lines; visible = other.visible; dirty = !other.title.empty(); dirty_description = !other.description.empty(); -- cgit v1.2.3