summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/minimumprogressoperation.cpp
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-07-07 11:32:13 +0200
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-07-10 08:54:06 +0000
commit38799ceaf111fb44665c1dd0e33896120d175ebc (patch)
tree7c3215dad4ec9f8962c44f2a915ba7809859cf45 /src/libs/installer/minimumprogressoperation.cpp
parent39a56f719a24a75e303d3a34f73a9c8cb1a01a34 (diff)
Make use of the new varadic template feature + cosmetic changes.
Change constructor to take the a package manager argument. Add a package manager member to the operation. Remove setter function. Change-Id: Iffb860e24089beb6496ac4ee479d547a29463728 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/minimumprogressoperation.cpp')
-rw-r--r--src/libs/installer/minimumprogressoperation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/installer/minimumprogressoperation.cpp b/src/libs/installer/minimumprogressoperation.cpp
index d791352d7..83cf98b3a 100644
--- a/src/libs/installer/minimumprogressoperation.cpp
+++ b/src/libs/installer/minimumprogressoperation.cpp
@@ -36,7 +36,8 @@
using namespace QInstaller;
-MinimumProgressOperation::MinimumProgressOperation()
+MinimumProgressOperation::MinimumProgressOperation(PackageManagerCore *core)
+ : UpdateOperation(core)
{
// This shouldn't be callable by script, but we need a name for the binary format
setName(QLatin1String("MinimumProgress"));