2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

version 0.6.18 - photos up to 1280x1280, single-column layout support, new version notifications

This commit is contained in:
John Preston
2014-12-12 19:27:03 +03:00
parent 2364dec9dd
commit 8d3aa5c31e
41 changed files with 869 additions and 190 deletions

View File

@@ -404,7 +404,7 @@ public:
} else {
QUrl url(original), good(url.isValid() ? url.toEncoded() : "");
QString readable = good.isValid() ? good.toDisplayString() : original;
result = _t->_font->m.elidedText(readable, Qt::ElideRight, LinkCropLimit);
result = _t->_font->m.elidedText(readable, Qt::ElideRight, st::linkCropLimit);
fullDisplayed = (result == readable) ? 1 : 0;
}
}