aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-07-03 19:12:05 +0200
committerdec05eba <dec05eba@protonmail.com>2021-07-03 19:12:05 +0200
commit2a7c6525c2ab62cb6a09f049c8bf53bc7e6e0039 (patch)
tree1302888901f680d3c2449e56a74903a809c37c56 /include/Body.hpp
parent611d22bf269672ba56f98e12eb6b2a40efdaa5b9 (diff)
Fix wraparound embedded text, go to last line in pinned events if another tab is selected
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 841ba5a..da54ee5 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -53,7 +53,8 @@ namespace QuickMedia {
class BodyItem {
public:
BodyItem(std::string _title);
- BodyItem& operator=(BodyItem &other);
+ BodyItem(const BodyItem&) = delete;
+ BodyItem& operator=(const BodyItem &other);
static std::shared_ptr<BodyItem> create(std::string title) { return std::make_shared<BodyItem>(std::move(title)); }