mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- FEATURE: Search engine is now using one thread per website for faster results
This commit is contained in:
parent
2ab2e5a40f
commit
c6c4bc1277
4 changed files with 11 additions and 4 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue