From c75a136973a2eaae53223e7374a196c04b7aa6f6 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Mon, 26 Feb 2018 13:17:04 +0200 Subject: Enable room switcher only in the chat view (#251) --- include/MainWindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/MainWindow.h') diff --git a/include/MainWindow.h b/include/MainWindow.h index 54a4766d..3aba736e 100644 --- a/include/MainWindow.h +++ b/include/MainWindow.h @@ -83,6 +83,8 @@ private slots: private: bool hasActiveUser(); void restoreWindowSize(); + //! Check if there is an open dialog. + bool hasActiveDialogs() const; static MainWindow *instance_; -- cgit 1.5.1