summary refs log tree commit diff
path: root/src/CombinedImagePackModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-06-13 11:12:21 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-06-13 11:12:21 +0200
commitbd9946bff9d68a69eca0bf69bfcf69b05e9374f6 (patch)
tree348b146ef904706c5bf59f4d243ed7dd90cf9169 /src/CombinedImagePackModel.cpp
parentFix crash on logout (why did that line vanish?!?) (diff)
downloadnheko-bd9946bff9d68a69eca0bf69bfcf69b05e9374f6.tar.xz
Fix height attribute for emotes
Diffstat (limited to 'src/CombinedImagePackModel.cpp')
-rw-r--r--src/CombinedImagePackModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CombinedImagePackModel.cpp b/src/CombinedImagePackModel.cpp

index 6dadbef4..8847fe65 100644 --- a/src/CombinedImagePackModel.cpp +++ b/src/CombinedImagePackModel.cpp
@@ -58,7 +58,7 @@ CombinedImagePackModel::data(const QModelIndex &index, int role) const switch (role) { case CompletionModel::CompletionRole: return QStringLiteral( - "<img data-mx-emoticon height=32 src=\"%1\" alt=\"%2\" title=\"%2\">") + "<img data-mx-emoticon height=\"32\" src=\"%1\" alt=\"%2\" title=\"%2\">") .arg(QString::fromStdString(images[index.row()].image.url).toHtmlEscaped(), !images[index.row()].image.body.empty() ? QString::fromStdString(images[index.row()].image.body)