- FEATURE: Search engine is now using one thread per website for faster results

This commit is contained in:
Christophe Dumez 2007-04-03 23:55:21 +00:00
parent 2ab2e5a40f
commit c6c4bc1277
4 changed files with 11 additions and 4 deletions

View file

@ -372,7 +372,7 @@ float SearchEngine::getNovaVersion(const QString& novaPath) const{
line = line.split(' ').last();
line.chop(1); // removes '\n'
version = line.toFloat();
qDebug("Search plugin version: %.1f", version);
qDebug("Search plugin version: %.2f", version);
break;
}
}
@ -470,7 +470,7 @@ void SearchEngine::on_update_nova_button_clicked(){
qDebug("Version on qbittorrent.org: %f", getNovaVersion(filePath));
float version_on_server = getNovaVersion(filePath);
if(version_on_server == 0.0){
//First server is down, try mirror
//First server is down, try the mirror
QFile::remove(filePath);
FILE *file = fopen((const char*)filePath.toUtf8(), "w");
if(!file){