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 11:46:45 (GMT)
commit177fdbb5ab0159edb9f58c928075b3f32fb30520 (patch)
tree3826af49571e44344336187018e53b4532845c4d
parent1558b6ea8b6911c4db703c2ca11e976fc45b4a0a (diff)
Use MythDownloadManger for downloading icons in mythfilldatabase. HttpComms doesn't support SSL.
-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 5c5185e..0c110c5 100644
--- a/mythtv/programs/mythfilldatabase/channeldata.cpp
+++ b/mythtv/programs/mythfilldatabase/channeldata.cpp
@@ -8,7 +8,7 @@
#include <QFile>
// libmythbase headers
-#include "httpcomms.h"
+#include "mythdownloadmanager.h"
// libmyth headers
#include "mythlogging.h"
@@ -150,7 +150,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))
{
LOG(VB_GENERAL, LOG_ERR,
QString("Failed to fetch icon from '%1'")