diff options
Diffstat (limited to 'src/manager-lib/installationtask.h')
-rw-r--r-- | src/manager-lib/installationtask.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/manager-lib/installationtask.h b/src/manager-lib/installationtask.h index e16ee5fb..dc9e88a6 100644 --- a/src/manager-lib/installationtask.h +++ b/src/manager-lib/installationtask.h @@ -51,8 +51,11 @@ #include <QtAppManManager/asynchronoustask.h> #include <QtAppManManager/scopeutilities.h> +#include <memory> + QT_BEGIN_NAMESPACE_AM +class Application; class Package; class PackageInfo; class PackageManager; @@ -94,7 +97,8 @@ private: bool m_managerApproval = false; QScopedPointer<PackageInfo> m_package; uint m_applicationUid = uint(-1); - QScopedPointer<Package> m_tempPackageForAcknowledge; + std::unique_ptr<Package> m_tempPackageForAcknowledge; + std::vector<std::unique_ptr<Application>> m_tempApplicationsForAcknowledge; // changes to these 4 member variables are protected by m_mutex PackageExtractor *m_extractor = nullptr; |