summary refs log tree commit diff
path: root/src/ChatPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChatPage.cpp')
-rw-r--r--src/ChatPage.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp

index 6dfa62ef..cb5f242f 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp
@@ -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); }