Improve Reply UI.

Fix a bug in ImageItem.
Update libqmatrixclient.
This commit is contained in:
Black Hat
2018-11-21 19:40:54 +08:00
parent 6d17716e97
commit 9ad062ca30
5 changed files with 42 additions and 22 deletions

View File

@@ -82,7 +82,7 @@ void ImageItem::setPaintable(Paintable *paintable) {
}
void ImageItem::setHint(QString newHint) {
if (m_hint != newHint) {
if (!m_hint.isNull() && m_hint != newHint) {
m_hint = newHint;
emit hintChanged();
update();