mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07: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:
parent
7c8677d787
commit
2fd0de082c
13 changed files with 145 additions and 204 deletions
|
@ -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)){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue