From b08a54a936b4687a62513e743381083386297777 Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Thu, 20 Jun 2013 19:34:14 +0100 Subject: [PATCH] MythNetvision: Change RSSEditPopup to use the MythDownloadManager This removes the use of the depreciated HttpComms. --- mythplugins/mythnetvision/mythnetvision/rsseditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mythplugins/mythnetvision/mythnetvision/rsseditor.cpp b/mythplugins/mythnetvision/mythnetvision/rsseditor.cpp index 501a2e2eca7..bac72ecda32 100644 --- a/mythplugins/mythnetvision/mythnetvision/rsseditor.cpp +++ b/mythplugins/mythnetvision/mythnetvision/rsseditor.cpp @@ -13,10 +13,10 @@ #include #include #include -#include #include #include #include +#include // RSS headers #include "rsseditor.h" @@ -302,7 +302,7 @@ void RSSEditPopup::slotSave(QNetworkReply* reply) bool exists = QFile::exists(filename); if (!exists) - HttpComms::getHttpFile(filename, thumbnailURL, 20000, 1, 2); + GetMythDownloadManager()->download(thumbnailURL, filename); } if (insertInDB(new RSSSite(title, filename, VIDEO_PODCAST, description, link, author, download, MythDate::current())))