summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/binaryformat/tst_binaryformat.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 /tests/auto/installer/binaryformat/tst_binaryformat.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 'tests/auto/installer/binaryformat/tst_binaryformat.cpp')
-rw-r--r--tests/auto/installer/binaryformat/tst_binaryformat.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/installer/binaryformat/tst_binaryformat.cpp b/tests/auto/installer/binaryformat/tst_binaryformat.cpp
index 31663158e..7402f05f2 100644
--- a/tests/auto/installer/binaryformat/tst_binaryformat.cpp
+++ b/tests/auto/installer/binaryformat/tst_binaryformat.cpp
@@ -57,7 +57,9 @@ struct Layout : public QInstaller::BinaryLayout
class TestOperation : public KDUpdater::UpdateOperation
{
public:
- TestOperation(const QString &name) { setName(name); }
+ TestOperation(const QString &name)
+ : KDUpdater::UpdateOperation(0)
+ { setName(name); }
virtual void backup() {}
virtual bool performOperation() { return true; }