diff --git a/src/downloadthread.cpp b/src/downloadthread.cpp index 957874073..3275c5cc2 100644 --- a/src/downloadthread.cpp +++ b/src/downloadthread.cpp @@ -76,6 +76,7 @@ void downloadThread::processDlFinished(QNetworkReply* reply) { filePath = tmpfile.fileName(); qDebug("Temporary filename is: %s", filePath.toLocal8Bit().data()); if(reply->open(QIODevice::ReadOnly)) { + // TODO: Support GZIP compression tmpfile.write(reply->readAll()); reply->close(); tmpfile.close(); diff --git a/src/src.pro b/src/src.pro index 1a902219f..c4bd23e2d 100644 --- a/src/src.pro +++ b/src/src.pro @@ -103,8 +103,8 @@ contains(DEFINES, DISABLE_GUI) { # QMAKE_CXXFLAGS_RELEASE += -fwrapv # QMAKE_CXXFLAGS_DEBUG += -fwrapv unix:QMAKE_LFLAGS_SHAPP += -rdynamic -#CONFIG += link_pkgconfig -#PKGCONFIG += "libtorrent-rasterbar" +CONFIG += link_pkgconfig +PKGCONFIG += "libtorrent-rasterbar" QT += network !contains(DEFINES, DISABLE_GUI) { QT += xml