summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/installerbase_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'installerbuilder/installerbase/installerbase_p.cpp')
-rw-r--r--installerbuilder/installerbase/installerbase_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/installerbuilder/installerbase/installerbase_p.cpp b/installerbuilder/installerbase/installerbase_p.cpp
index 57da967fd..5482c137a 100644
--- a/installerbuilder/installerbase/installerbase_p.cpp
+++ b/installerbuilder/installerbase/installerbase_p.cpp
@@ -216,7 +216,7 @@ int InstallerBase::replaceMaintenanceToolBinary(QStringList arguments)
QUrl url = arguments.value(1);
if (!supportedScheme(url.scheme()) && QFileInfo(url.toString()).exists())
url = QLatin1String("file:///") + url.toString();
- m_downloader.reset(FileDownloaderFactory::instance().create(url.scheme()));
+ m_downloader.reset(FileDownloaderFactory::instance().create(url.scheme(), 0));
if (m_downloader.isNull()) {
qDebug() << QString::fromLatin1("Scheme not supported: %1 (%2)").arg(url.scheme(), url.toString());
return EXIT_FAILURE;