From 55249ba3a6e2b4d51c259c0eff0c1d97ab6be614 Mon Sep 17 00:00:00 2001 From: Krzysztof Starecki Date: Fri, 15 Feb 2019 22:01:36 +0100 Subject: Reject new mod installations if another one is already running --- src/installationmanager.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/installationmanager.h') diff --git a/src/installationmanager.h b/src/installationmanager.h index 7c43b4e2..54fdf169 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -89,6 +89,11 @@ public: **/ bool wasCancelled(); + /** + * @return true if an installation is currently in progress + **/ + bool isRunning(); + /** * @brief retrieve a string describing the specified error code * @@ -202,6 +207,8 @@ private: private: + bool m_IsRunning; + QWidget *m_ParentWidget; QString m_ModsDirectory; -- cgit v1.3.1