mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 22:37:59 +00:00
- Fixed a bug in previous commit
- Added some debug
This commit is contained in:
parent
41daeb4c19
commit
b1f562d7c0
@ -344,13 +344,15 @@ bool engineSelectDlg::parseVersionsFile(QString versions_file, QString updateSer
|
|||||||
downloader->downloadUrl(updateServer+plugin_name+".zip"); // Actually this is really a .py
|
downloader->downloadUrl(updateServer+plugin_name+".zip"); // Actually this is really a .py
|
||||||
downloader->downloadUrl(updateServer+plugin_name+".png");
|
downloader->downloadUrl(updateServer+plugin_name+".png");
|
||||||
updated = true;
|
updated = true;
|
||||||
|
}else {
|
||||||
|
qDebug("Plugin: %s is up to date", plugin_name.toUtf8().data());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Close file
|
// Close file
|
||||||
versions.close();
|
versions.close();
|
||||||
// Clean up tmp file
|
// Clean up tmp file
|
||||||
QFile::remove(versions_file);
|
QFile::remove(versions_file);
|
||||||
if(!updated) {
|
if(file_correct && !updated) {
|
||||||
QMessageBox::information(this, tr("Search plugin update")+" -- "+tr("qBittorrent"), tr("All your plugins are already up to date."));
|
QMessageBox::information(this, tr("Search plugin update")+" -- "+tr("qBittorrent"), tr("All your plugins are already up to date."));
|
||||||
}
|
}
|
||||||
return file_correct;
|
return file_correct;
|
||||||
|
Loading…
Reference in New Issue
Block a user