From 363e3735f13fb5d2f03078bfc7146dd0487bd6ce Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Wed, 11 Jul 2018 20:55:13 +0300 Subject: Allow close events from the session manager (#353) --- include/MainWindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/MainWindow.h b/include/MainWindow.h index 3840bd9a..92040191 100644 --- a/include/MainWindow.h +++ b/include/MainWindow.h @@ -119,6 +119,8 @@ private: void restoreWindowSize(); //! Check if there is an open dialog. bool hasActiveDialogs() const; + //! Check if the current page supports the "minimize to tray" functionality. + bool pageSupportsTray() const; static MainWindow *instance_; -- cgit 1.5.1