summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2012-03-09 11:46:45 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2012-03-09 12:32:48 (GMT)
commitd7616d2da5225272c337becb7419db4c229b25eb (patch)
tree583a286fe56d216a09f4f8746db84567612c0977
parent0006ba7fd2be57241b92d60698301cc3de5f8953 (diff)
Use MythDownloadManger for downloading icons in mythfilldatabase. HttpComms doesn't support SSL. Backported from 177fdbb5
-rw-r--r--mythtv/programs/mythfilldatabase/channeldata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mythtv/programs/mythfilldatabase/channeldata.cpp b/mythtv/programs/mythfilldatabase/channeldata.cpp
index 220c3d4..5b7528c 100644
--- a/mythtv/programs/mythfilldatabase/channeldata.cpp
+++ b/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'")