mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 20:18:53 +03:00
Fix height attribute for emotes
This commit is contained in:
parent
f3ff56692e
commit
bd9946bff9
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ CombinedImagePackModel::data(const QModelIndex &index, int role) const
|
||||||
switch (role) {
|
switch (role) {
|
||||||
case CompletionModel::CompletionRole:
|
case CompletionModel::CompletionRole:
|
||||||
return QStringLiteral(
|
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(),
|
.arg(QString::fromStdString(images[index.row()].image.url).toHtmlEscaped(),
|
||||||
!images[index.row()].image.body.empty()
|
!images[index.row()].image.body.empty()
|
||||||
? QString::fromStdString(images[index.row()].image.body)
|
? QString::fromStdString(images[index.row()].image.body)
|
||||||
|
|
Loading…
Reference in a new issue