remove old quick switcher
This commit is contained in:
parent
0ce7f78446
commit
68c999e5f4
7 changed files with 1 additions and 242 deletions
|
|
@ -35,7 +35,6 @@
|
|||
#include "MainWindow.h"
|
||||
#include "MatrixClient.h"
|
||||
#include "Olm.h"
|
||||
#include "QuickSwitcher.h"
|
||||
#include "RoomList.h"
|
||||
#include "SideBarActions.h"
|
||||
#include "Splitter.h"
|
||||
|
|
@ -598,18 +597,6 @@ ChatPage::loadStateFromCache()
|
|||
emit trySyncCb();
|
||||
}
|
||||
|
||||
void
|
||||
ChatPage::showQuickSwitcher()
|
||||
{
|
||||
auto dialog = new QuickSwitcher(this);
|
||||
|
||||
connect(dialog, &QuickSwitcher::roomSelected, room_list_, &RoomList::highlightSelectedRoom);
|
||||
connect(
|
||||
dialog, &QuickSwitcher::closing, this, []() { MainWindow::instance()->hideOverlay(); });
|
||||
|
||||
MainWindow::instance()->showTransparentOverlayModal(dialog);
|
||||
}
|
||||
|
||||
void
|
||||
ChatPage::removeRoom(const QString &room_id)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue