diff options
author | Katja Marttila <katja.marttila@qt.io> | 2020-03-27 10:53:25 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2020-03-31 10:02:29 +0300 |
commit | b5022c36b878c13861378ab2d9970d0533a43b6a (patch) | |
tree | d3ee58cd5cc158f752dcb75a28460160e58d265f /src/libs/installer/packagemanagercore_p.h | |
parent | 8d025e5dcd841939bdf44fc4705dffe429bca5b5 (diff) |
Add function to allow additional processes to be run
Maintenancetool does not allow updating install if running processes are
found from install directory. Only maintenancetool process was allowed,
otherwise the install failed with query to shut down processes. This
commit adds a function to extend the allowed processes to be
run, this is mandatory when running tests as test executable lies in the
install directory.
Task-number: QTIFW-1019
Change-Id: I5422b0327e3f77edf3f9c88c74f40eff5cc8c830
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/libs/installer/packagemanagercore_p.h')
-rw-r--r-- | src/libs/installer/packagemanagercore_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/packagemanagercore_p.h b/src/libs/installer/packagemanagercore_p.h index e246317cc..dc5ad6af4 100644 --- a/src/libs/installer/packagemanagercore_p.h +++ b/src/libs/installer/packagemanagercore_p.h @@ -206,6 +206,7 @@ public: OperationList m_performedOperationsCurrentSession; bool m_dependsOnLocalInstallerBinary; + QStringList m_allowedRunningProcesses; private slots: void infoMessage(Job *, const QString &message) { |