Remove unnecessary capture of this
This commit is contained in:
parent
4d29116922
commit
202e3debe6
@ -566,9 +566,8 @@ ChatPage::showQuickSwitcher()
|
|||||||
auto dialog = new QuickSwitcher(this);
|
auto dialog = new QuickSwitcher(this);
|
||||||
|
|
||||||
connect(dialog, &QuickSwitcher::roomSelected, room_list_, &RoomList::highlightSelectedRoom);
|
connect(dialog, &QuickSwitcher::roomSelected, room_list_, &RoomList::highlightSelectedRoom);
|
||||||
connect(dialog, &QuickSwitcher::closing, this, [this]() {
|
connect(
|
||||||
MainWindow::instance()->hideOverlay();
|
dialog, &QuickSwitcher::closing, this, []() { MainWindow::instance()->hideOverlay(); });
|
||||||
});
|
|
||||||
|
|
||||||
MainWindow::instance()->showTransparentOverlayModal(dialog);
|
MainWindow::instance()->showTransparentOverlayModal(dialog);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user