optionally use QQuickWidget and replace ColorOverlay -> colorImageProvider

This commit is contained in:
Nicolas Werner 2019-11-08 14:39:45 +01:00
parent 1268e9f11c
commit 2bfb885b47
12 changed files with 197 additions and 152 deletions

View file

@ -844,7 +844,7 @@ TimelineModel::replyAction(QString id)
return related_;
},
event);
related.type = mtx::events::getMessageType(boost::apply_visitor(
related.type = mtx::events::getMessageType(boost::apply_visitor(
[](const auto &e) -> std::string { return eventMsgType(e); }, event));
related.quoted_body = boost::apply_visitor(
[](const auto &e) -> QString { return eventFormattedBody(e); }, event);