2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Removed Q_OBJECT from ScrollArea.

This commit is contained in:
23rd
2021-09-29 19:01:12 +03:00
parent e3ef7d6631
commit cb8f49aea0
10 changed files with 38 additions and 21 deletions

View File

@@ -48,11 +48,10 @@ Widget::Widget(
_inner->moveToLeft(0, 0, _scroll->width());
connect(
_scroll,
&Ui::ScrollArea::scrolled,
this,
&InlineBots::Layout::Widget::onScroll);
_scroll->scrolls(
) | rpl::start_with_next([=] {
onScroll();
}, lifetime());
_inner->inlineRowsCleared(
) | rpl::start_with_next([=] {