Version 4.9.6: Fix build.

This commit is contained in:
John Preston 2023-09-12 21:14:01 +04:00
parent 4296f93e1a
commit da7e8a8dc3
1 changed files with 0 additions and 13 deletions

View File

@ -48,19 +48,6 @@ struct InfographicDescriptor {
bool complexRatio = false;
};
[[nodiscard]] rpl::producer<> BoxShowFinishes(not_null<Ui::GenericBox*> box) {
const auto singleShot = box->lifetime().make_state<rpl::lifetime>();
const auto showFinishes = singleShot->make_state<rpl::event_stream<>>();
box->setShowFinishedCallback([=] {
showFinishes->fire({});
singleShot->destroy();
box->setShowFinishedCallback(nullptr);
});
return showFinishes->events();
}
void AddSubsectionTitle(
not_null<Ui::VerticalLayout*> container,
rpl::producer<QString> text) {