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

Almost all icons moved from sprite.

It is a broken build, some of sprite()s are in stickers.style file.
This commit is contained in:
John Preston
2016-10-28 00:19:38 +03:00
parent 29493a0693
commit f7374aa7b7
59 changed files with 316 additions and 314 deletions

View File

@@ -388,7 +388,7 @@ void GroupInfoBox::paintEvent(QPaintEvent *e) {
} else {
p.fillRect(phRect, st::newGroupPhotoBg->b);
}
p.drawSprite(phRect.topLeft() + st::newGroupPhotoIconPosition, st::newGroupPhotoIcon);
st::newGroupPhotoIcon.paint(p, phRect.topLeft() + st::newGroupPhotoIconPosition, width());
} else {
p.drawPixmap(phRect.topLeft(), _photoSmall);
}