mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
gifs and pdfs attached by link, prepare for 0.8.54 stable version
This commit is contained in:
@@ -1105,6 +1105,8 @@ void OverviewInner::paintEvent(QPaintEvent *e) {
|
||||
pix = page->photo->thumb->pixBlurredSingle(lnk->pixw, lnk->pixh, st::dlgPhotoSize, st::dlgPhotoSize);
|
||||
}
|
||||
p.drawPixmap(0, top, pix);
|
||||
} else if (page && page->doc && !page->doc->thumb->isNull()) {
|
||||
p.drawPixmap(0, top, page->doc->thumb->pixSingle(lnk->pixw, lnk->pixh, st::dlgPhotoSize, st::dlgPhotoSize));
|
||||
} else {
|
||||
int32 index = lnk->letter.isEmpty() ? 0 : (lnk->letter.at(0).unicode() % 4);
|
||||
switch (index) {
|
||||
|
Reference in New Issue
Block a user