summaryrefslogtreecommitdiff
path: root/src/icons
diff options
context:
space:
mode:
Diffstat (limited to 'src/icons')
-rw-r--r--src/icons/icondownloader.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/icons/icondownloader.cpp b/src/icons/icondownloader.cpp
index 6d1f3a5e..b1d813a3 100644
--- a/src/icons/icondownloader.cpp
+++ b/src/icons/icondownloader.cpp
@@ -28,8 +28,10 @@
#include "icondownloader.h"
#include "icondownloader.moc"
+// Local Includes
+#include "knetworkaccessmanager.h"
+
// Qt Includes
-#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QFile>
@@ -41,7 +43,7 @@ IconDownloader::IconDownloader(const KUrl &srcUrl, const KUrl &destUrl, QObject
, m_srcUrl(srcUrl)
, m_destUrl(destUrl)
{
- QNetworkAccessManager *manager = new QNetworkAccessManager(this);
+ KNetworkAccessManager *manager = new KNetworkAccessManager(this);
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
manager->get(QNetworkRequest(srcUrl));
}