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

Remove legacy image-related code.

This commit is contained in:
John Preston
2020-05-29 18:08:18 +04:00
parent f066e0f05a
commit 6513422e40
60 changed files with 161 additions and 1509 deletions

View File

@@ -183,12 +183,6 @@ QString WallPaper::shareUrl() const {
: base + '?' + params.join('&');
}
void WallPaper::loadLocalThumbnail() const {
if (_thumbnail) {
_thumbnail->load(fileOrigin());
}
}
void WallPaper::loadDocumentThumbnail() const {
if (_document) {
_document->loadThumbnail(fileOrigin());