2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

0.9.30 dev version - fix forwarded text style, fixed sticker preview update on sticker load

This commit is contained in:
John Preston
2016-03-03 20:37:15 +02:00
parent d5132a899e
commit 7c62de51ff
9 changed files with 20 additions and 18 deletions

View File

@@ -197,6 +197,7 @@ StickerPreviewWidget::StickerPreviewWidget(QWidget *parent) : TWidget(parent)
, _gif(0)
, _cacheStatus(CacheNotLoaded) {
setAttribute(Qt::WA_TransparentForMouseEvents);
connect(App::wnd(), SIGNAL(imageLoaded()), this, SLOT(update()));
}
void StickerPreviewWidget::paintEvent(QPaintEvent *e) {