mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Some icons moved from sprite to separate files.
This commit is contained in:
@@ -109,8 +109,8 @@ void AddContactBox::paintEvent(QPaintEvent *e) {
|
||||
paintTitle(p, _boxTitle);
|
||||
|
||||
if (_retry.isHidden()) {
|
||||
p.drawSpriteLeft(st::boxPadding.left(), _first.y() + st::contactIconTop, width(), st::contactUserIcon);
|
||||
p.drawSpriteLeft(st::boxPadding.left(), _phone.y() + st::contactIconTop, width(), st::contactPhoneIcon);
|
||||
st::contactUserIcon.paint(p, st::boxPadding.left(), _first.y() + st::contactIconTop, width());
|
||||
st::contactPhoneIcon.paint(p, st::boxPadding.left(), _phone.y() + st::contactIconTop, width());
|
||||
} else {
|
||||
p.setPen(st::black->p);
|
||||
p.setFont(st::boxTextFont->f);
|
||||
|
Reference in New Issue
Block a user