summaryrefslogtreecommitdiffstats
path: root/examples/downloadspeed/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/downloadspeed/main.cpp')
-rw-r--r--examples/downloadspeed/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/downloadspeed/main.cpp b/examples/downloadspeed/main.cpp
index 86c8d2ea8..56d6f44f4 100644
--- a/examples/downloadspeed/main.cpp
+++ b/examples/downloadspeed/main.cpp
@@ -173,7 +173,7 @@ int main(int argc, char *argv[])
const QUrl url(a.arguments().value(1));
qDebug() << url.toString();
- KDUpdater::FileDownloader *loader = KDUpdater::FileDownloaderFactory::instance().create(url.scheme());
+ KDUpdater::FileDownloader *loader = KDUpdater::FileDownloaderFactory::instance().create(url.scheme(), 0);
if (loader) {
loader->setUrl(url);
loader->setProxyFactory(new ProxyFactory());