diff options
author | Tim Jenssen <tim.jenssen@digia.com> | 2013-08-28 12:27:15 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@digia.com> | 2013-09-17 11:24:12 +0200 |
commit | c0783d89b802e6e054ac062480b1fef5272fa274 (patch) | |
tree | 62f0e777ec1562461daa49935c713f6d3df688c6 | |
parent | 5e6d3ee009b96e4613402acc8ba12cd6281ea2d6 (diff) |
enable redirected downloads at tests/downloadspeed
Change-Id: Id44b63f491e90bb956df0aec19e17e9f0b60a158
Reviewed-by: Niels Weber <niels.weber@digia.com>
-rw-r--r-- | tests/downloadspeed/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/downloadspeed/main.cpp b/tests/downloadspeed/main.cpp index 5a5b685aa..4edc0d8b6 100644 --- a/tests/downloadspeed/main.cpp +++ b/tests/downloadspeed/main.cpp @@ -164,6 +164,7 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; const QUrl url(a.arguments().value(1)); + KDUpdater::FileDownloaderFactory::setFollowRedirects(true); qDebug() << url.toString(); KDUpdater::FileDownloader *loader = KDUpdater::FileDownloaderFactory::instance().create(url.scheme(), 0); if (loader) { |