mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Remove unnecessary capture of this
This commit is contained in:
parent
4d29116922
commit
202e3debe6
1 changed files with 2 additions and 3 deletions
|
@ -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 a new issue