- 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:
Christophe Dumez 2007-07-20 17:11:02 +00:00
parent 7c8677d787
commit 2fd0de082c
13 changed files with 145 additions and 204 deletions

View file

@ -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)){