aboutsummaryrefslogtreecommitdiff
path: root/launcher/updater/DownloadTask_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/updater/DownloadTask_test.cpp')
-rw-r--r--launcher/updater/DownloadTask_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/updater/DownloadTask_test.cpp b/launcher/updater/DownloadTask_test.cpp
index dc263c17..8e823a63 100644
--- a/launcher/updater/DownloadTask_test.cpp
+++ b/launcher/updater/DownloadTask_test.cpp
@@ -179,7 +179,8 @@ slots:
OperationList operations;
- processFileLists(currentVersion, newVersion, QDir::currentPath(), tempFolder, new NetJob("Dummy"), operations);
+ shared_qobject_ptr<QNetworkAccessManager> network = new QNetworkAccessManager();
+ processFileLists(currentVersion, newVersion, QDir::currentPath(), tempFolder, new NetJob("Dummy", network), operations);
qDebug() << (operations == expectedOperations);
qDebug() << operations;
qDebug() << expectedOperations;