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

Clear DocumentMedia in links overview.

This commit is contained in:
John Preston
2020-05-21 14:59:55 +04:00
parent 9dba723643
commit 44ec55b6a8
2 changed files with 64 additions and 45 deletions

View File

@@ -365,6 +365,7 @@ protected:
private:
void ensureDocumentMediaCreated();
void validateThumbnail();
ClickHandlerPtr _photol;
@@ -375,6 +376,7 @@ private:
int _pixw = 0;
int _pixh = 0;
Ui::Text::String _text = { st::msgMinWidth };
QPixmap _thumbnail;
struct LinkEntry {
LinkEntry() : width(0) {