mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove twidget header.
This commit is contained in:
@@ -6308,7 +6308,7 @@ void HistoryWidget::forwardSelected() {
|
||||
if (!_list) {
|
||||
return;
|
||||
}
|
||||
const auto weak = make_weak(this);
|
||||
const auto weak = Ui::MakeWeak(this);
|
||||
Window::ShowForwardMessagesBox(controller(), getSelectedItems(), [=] {
|
||||
if (const auto strong = weak.data()) {
|
||||
strong->clearSelected();
|
||||
@@ -6323,7 +6323,7 @@ void HistoryWidget::confirmDeleteSelected() {
|
||||
if (items.empty()) {
|
||||
return;
|
||||
}
|
||||
const auto weak = make_weak(this);
|
||||
const auto weak = Ui::MakeWeak(this);
|
||||
const auto box = Ui::show(Box<DeleteMessagesBox>(
|
||||
&session(),
|
||||
std::move(items)));
|
||||
|
Reference in New Issue
Block a user