summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/binaryformat/tst_binaryformat.cpp
diff options
context:
space:
mode:
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; }