This commit is contained in:
Rasmus Karlsson
2018-09-30 16:55:41 +00:00
parent d79a8b81b1
commit a2fb4ca104
9 changed files with 31 additions and 31 deletions
@@ -78,7 +78,8 @@ ImageLayoutElement::ImageLayoutElement(MessageElement &creator, ImagePtr image,
void ImageLayoutElement::addCopyTextToString(QString &str, int from,
int to) const
{
const auto *emoteElement = dynamic_cast<EmoteElement *>(&this->getCreator());
const auto *emoteElement =
dynamic_cast<EmoteElement *>(&this->getCreator());
if (emoteElement) {
str += emoteElement->getEmote()->getCopyString();
if (this->hasTrailingSpace()) {