Skip to content

Commit

Permalink
MythNetvision: Change RSSEditPopup to use the MythDownloadManager
Browse files Browse the repository at this point in the history
This removes the use of the depreciated HttpComms.
  • Loading branch information
Paul Harrison committed Jun 20, 2013
1 parent dbc269a commit b08a54a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythplugins/mythnetvision/mythnetvision/rsseditor.cpp
Expand Up @@ -13,10 +13,10 @@
#include <mythdate.h>
#include <mythcontext.h>
#include <mythdbcon.h>
#include <httpcomms.h>
#include <mythdirs.h>
#include <netutils.h>
#include <rssparse.h>
#include <mythdownloadmanager.h>

// RSS headers
#include "rsseditor.h"
Expand Down Expand Up @@ -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())))
Expand Down

0 comments on commit b08a54a

Please sign in to comment.