some phrasing
This commit is contained in:
parent
ac1b88b481
commit
b17d1349de
2 changed files with 2 additions and 2 deletions
|
|
@ -321,7 +321,7 @@
|
||||||
<item row="5" column="0">
|
<item row="5" column="0">
|
||||||
<widget class="QLabel" name="m_lblHeightImageAttachments">
|
<widget class="QLabel" name="m_lblHeightImageAttachments">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Image attachments height</string>
|
<string>Limit height of images</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy">
|
<property name="buddy">
|
||||||
<cstring>m_spinHeightImageAttachments</cstring>
|
<cstring>m_spinHeightImageAttachments</cstring>
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ QPair<QString, QUrl> TextBrowserViewer::prepareHtmlForMessage(const QList<Messag
|
||||||
|
|
||||||
// Fixup all "img" tags.
|
// Fixup all "img" tags.
|
||||||
html += cnts.replace(img_tag_rgx,
|
html += cnts.replace(img_tag_rgx,
|
||||||
QSL("<a href=\"\\1\"><img width=\"%1\" src=\"\\1\" /></a>")
|
QSL("<a href=\"\\1\"><img height=\"%1\" src=\"\\1\" /></a>")
|
||||||
.arg(forced_img_size <= 0 ? QString() : QString::number(forced_img_size)));
|
.arg(forced_img_size <= 0 ? QString() : QString::number(forced_img_size)));
|
||||||
html += pictures_html;
|
html += pictures_html;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue