Remove unused captures
This commit is contained in:
parent
610e9fe2e6
commit
4df0c47145
1 changed files with 5 additions and 5 deletions
|
|
@ -677,12 +677,12 @@ bool ShareBox::showForwardMenu(not_null<Ui::IconButton*> button) {
|
||||||
}, _topMenu->lifetime());
|
}, _topMenu->lifetime());
|
||||||
|
|
||||||
noNames->checkedChanges(
|
noNames->checkedChanges(
|
||||||
) | rpl::start_with_next([=, this](bool value) {
|
) | rpl::start_with_next([=](bool value) {
|
||||||
onForwardOptionChange(1, value);
|
onForwardOptionChange(1, value);
|
||||||
}, _topMenu->lifetime());
|
}, _topMenu->lifetime());
|
||||||
|
|
||||||
noCaptions->checkedChanges(
|
noCaptions->checkedChanges(
|
||||||
) | rpl::start_with_next([=, this](bool value) {
|
) | rpl::start_with_next([=](bool value) {
|
||||||
onForwardOptionChange(2, value);
|
onForwardOptionChange(2, value);
|
||||||
}, _topMenu->lifetime());
|
}, _topMenu->lifetime());
|
||||||
|
|
||||||
|
|
@ -721,17 +721,17 @@ bool ShareBox::showForwardMenu(not_null<Ui::IconButton*> button) {
|
||||||
};
|
};
|
||||||
|
|
||||||
groupAsIs->checkedChanges(
|
groupAsIs->checkedChanges(
|
||||||
) | rpl::start_with_next([=, this](bool value) {
|
) | rpl::start_with_next([=](bool value) {
|
||||||
onGroupOptionChange(0, value);
|
onGroupOptionChange(0, value);
|
||||||
}, _topMenu->lifetime());
|
}, _topMenu->lifetime());
|
||||||
|
|
||||||
groupAll->checkedChanges(
|
groupAll->checkedChanges(
|
||||||
) | rpl::start_with_next([=, this](bool value) {
|
) | rpl::start_with_next([=](bool value) {
|
||||||
onGroupOptionChange(1, value);
|
onGroupOptionChange(1, value);
|
||||||
}, _topMenu->lifetime());
|
}, _topMenu->lifetime());
|
||||||
|
|
||||||
groupNone->checkedChanges(
|
groupNone->checkedChanges(
|
||||||
) | rpl::start_with_next([=, this](bool value) {
|
) | rpl::start_with_next([=](bool value) {
|
||||||
onGroupOptionChange(2, value);
|
onGroupOptionChange(2, value);
|
||||||
}, _topMenu->lifetime());
|
}, _topMenu->lifetime());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue