mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Version 4.9.6: Fix build.
This commit is contained in:
parent
4296f93e1a
commit
da7e8a8dc3
1 changed files with 0 additions and 13 deletions
|
@ -48,19 +48,6 @@ struct InfographicDescriptor {
|
||||||
bool complexRatio = false;
|
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(
|
void AddSubsectionTitle(
|
||||||
not_null<Ui::VerticalLayout*> container,
|
not_null<Ui::VerticalLayout*> container,
|
||||||
rpl::producer<QString> text) {
|
rpl::producer<QString> text) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue