Permalink
Browse files

Use MythDownloadManger for downloading icons in mythfilldatabase. Htt…

…pComms doesn't support SSL. Backported from 177fdbb
  • Loading branch information...
1 parent 0006ba7 commit d7616d2da5225272c337becb7419db4c229b25eb @stuartm stuartm committed Mar 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/programs/mythfilldatabase/channeldata.cpp
@@ -8,7 +8,7 @@
#include <QFile>
// libmythdb headers
-#include "httpcomms.h"
+#include "mythdownloadmanager.h"
// libmyth headers
#include "mythverbose.h"
@@ -148,7 +148,7 @@ void ChannelData::handleChannels(int id, QList<ChanInfo> *chanlist)
localfile = fileprefix + filename;
QFile actualfile(localfile);
if (!actualfile.exists() &&
- !HttpComms::getHttpFile(localfile, (*i).iconpath))
+ !GetMythDownloadManager()->download((*i).iconpath, localfile))
{
VERBOSE(VB_IMPORTANT,
QString("Failed to fetch icon from '%1'")

0 comments on commit d7616d2

Please sign in to comment.