mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix possible crash in forward preview.
This commit is contained in:
parent
7c1510b611
commit
6b96466c5e
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ void PreviewWrap::paintEvent(QPaintEvent *e) {
|
||||||
userpicTop,
|
userpicTop,
|
||||||
width(),
|
width(),
|
||||||
st::msgPhotoSize);
|
st::msgPhotoSize);
|
||||||
} else if (const auto info = item->originalHiddenSenderInfo()) {
|
} else if (const auto info = item->displayHiddenSenderInfo()) {
|
||||||
if (info->customUserpic.empty()) {
|
if (info->customUserpic.empty()) {
|
||||||
info->emptyUserpic.paintCircle(
|
info->emptyUserpic.paintCircle(
|
||||||
p,
|
p,
|
||||||
|
|
Loading…
Add table
Reference in a new issue