mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +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);
|
||||
|
||||
connect(dialog, &QuickSwitcher::roomSelected, room_list_, &RoomList::highlightSelectedRoom);
|
||||
connect(dialog, &QuickSwitcher::closing, this, [this]() {
|
||||
MainWindow::instance()->hideOverlay();
|
||||
});
|
||||
connect(
|
||||
dialog, &QuickSwitcher::closing, this, []() { MainWindow::instance()->hideOverlay(); });
|
||||
|
||||
MainWindow::instance()->showTransparentOverlayModal(dialog);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue