2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +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

@@ -168,11 +168,10 @@ FieldAutocomplete::FieldAutocomplete(
hide();
connect(
_scroll,
&Ui::ScrollArea::geometryChanged,
_inner,
&Inner::onParentGeometryChanged);
_scroll->geometryChanged(
) | rpl::start_with_next(crl::guard(_inner, [=] {
_inner->onParentGeometryChanged();
}), lifetime());
}
not_null<Window::SessionController*> FieldAutocomplete::controller() const {