2 files changed, 2 insertions, 4 deletions
diff --git a/include/ChatPage.h b/include/ChatPage.h
index e8a40ade..4c8ed05b 100644
--- a/include/ChatPage.h
+++ b/include/ChatPage.h
@@ -48,6 +48,7 @@ public:
// Initialize all the components of the UI.
void bootstrap(QString userid, QString homeserver, QString token);
+ void showQuickSwitcher();
signals:
void contentLoaded();
@@ -69,14 +70,10 @@ private slots:
void addRoom(const QString &room_id);
void removeRoom(const QString &room_id);
-protected:
- void keyPressEvent(QKeyEvent *event) override;
-
private:
void updateTypingUsers(const QString &roomid, const QList<QString> &user_ids);
void updateDisplayNames(const RoomState &state);
void loadStateFromCache();
- void showQuickSwitcher();
QHBoxLayout *topLayout_;
Splitter *splitter;
diff --git a/include/MainWindow.h b/include/MainWindow.h
index 0c2316a3..95935c46 100644
--- a/include/MainWindow.h
+++ b/include/MainWindow.h
@@ -43,6 +43,7 @@ public:
protected:
void closeEvent(QCloseEvent *event);
+ void keyPressEvent(QKeyEvent *event);
private slots:
// Handle interaction with the tray icon.
|