diff options
Diffstat (limited to 'src/libs/installer/concurrentoperationrunner.h')
-rw-r--r-- | src/libs/installer/concurrentoperationrunner.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/installer/concurrentoperationrunner.h b/src/libs/installer/concurrentoperationrunner.h index a74010f3e..f30020a95 100644 --- a/src/libs/installer/concurrentoperationrunner.h +++ b/src/libs/installer/concurrentoperationrunner.h @@ -50,6 +50,7 @@ public: void setOperations(OperationList *operations); void setType(const Operation::OperationType type); + void setMaxThreadCount(int count); QHash<Operation *, bool> run(); @@ -75,6 +76,8 @@ private: OperationList *m_operations; Operation::OperationType m_type; + + QThreadPool *const m_threadPool; }; } // namespace QInstaller |