diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-02-16 20:41:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-16 20:41:27 +0100 |
| commit | ee266e52209fc9fce32031fd5ae0c9703b64cada (patch) | |
| tree | adf38e2c6e7baebd1cf56011567ad733d7a363c1 /src/installationmanager.h | |
| parent | c19ba153376f5d8f4026a46701bb0f7c115c1651 (diff) | |
| parent | d0a6321a39a4b8511dc36e5023c8787cfa1356dc (diff) | |
Merge pull request #655 from przester/double-install-fix
Reject new mod installations if another one is already running
Diffstat (limited to 'src/installationmanager.h')
| -rw-r--r-- | src/installationmanager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h index 7c43b4e2..54fdf169 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -90,6 +90,11 @@ public: bool wasCancelled(); /** + * @return true if an installation is currently in progress + **/ + bool isRunning(); + + /** * @brief retrieve a string describing the specified error code * * @param errorCode an error code as returned by the archiving function @@ -202,6 +207,8 @@ private: private: + bool m_IsRunning; + QWidget *m_ParentWidget; QString m_ModsDirectory; |
