2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Remove Q_OBJECT from HistoryWidget.

This commit is contained in:
John Preston
2020-11-12 19:19:04 +03:00
parent f04b3da76a
commit 4a0efb9114
7 changed files with 150 additions and 148 deletions

View File

@@ -244,7 +244,11 @@ MainWidget::MainWidget(
setupConnectingWidget();
connect(_dialogs, SIGNAL(cancelled()), this, SLOT(dialogsCancelled()));
connect(_history, &HistoryWidget::cancelled, [=] { handleHistoryBack(); });
_history->cancelRequests(
) | rpl::start_with_next([=] {
handleHistoryBack();
}, lifetime());
Core::App().calls().currentCallValue(
) | rpl::start_with_next([=](Calls::Call *call) {