diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/imagedownloader.cpp | 1 | ||||
-rw-r--r-- | core/imagedownloader.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/imagedownloader.cpp b/core/imagedownloader.cpp index f5bc734b2..82ca53026 100644 --- a/core/imagedownloader.cpp +++ b/core/imagedownloader.cpp @@ -34,6 +34,7 @@ void ImageDownloader::load(bool fromHash){ url = QUrl::fromUserInput(QString(picture->filename)); if (url.isValid()) { QEventLoop loop; + QNetworkAccessManager manager; QNetworkRequest request(url); connect(&manager, SIGNAL(finished(QNetworkReply *)), this, SLOT(saveImage(QNetworkReply *))); QNetworkReply *reply = manager.get(request); diff --git a/core/imagedownloader.h b/core/imagedownloader.h index c03a0f565..295b664f4 100644 --- a/core/imagedownloader.h +++ b/core/imagedownloader.h @@ -15,7 +15,6 @@ public: private: struct picture *picture; - QNetworkAccessManager manager; bool loadFromHash; private slots: |