mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- Updated configure file to check for libcommoncpp2 instead of libcurl
- Used downloadThread in search plugin update instead of libcurl (no more gui freeze by the same occasion) - Still need to handle download from urls errors and use fallback url in search plugin update (before beta2)
This commit is contained in:
@@ -128,11 +128,6 @@ class misc : public QObject{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Function called by curl to write the data to the file
|
||||
static int my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream){
|
||||
return fwrite(buffer, size, nmemb, (FILE*)stream);
|
||||
}
|
||||
|
||||
static QString findFileInDir(const QString& dir_path, const QString& fileName){
|
||||
QDir dir(dir_path);
|
||||
if(dir.exists(fileName)){
|
||||
|
||||
Reference in New Issue
Block a user