1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

- BUGFIX: Fixed search engine plugins update

This commit is contained in:
Christophe Dumez 2007-09-27 19:09:32 +00:00
parent 09abd303bd
commit c3d3156ec7
2 changed files with 2 additions and 1 deletions

1
TODO
View File

@ -79,6 +79,7 @@ LANGUAGES UPDATED:
- Bulgarian *OK* - Bulgarian *OK*
rc1->rc2 changelog: rc1->rc2 changelog:
- BUGFIX: Fixed search engine plugins update
- BUGFIX: Fixed mininova search engine plugin - BUGFIX: Fixed mininova search engine plugin
- BUGFIX: Fixed infoBar text when adding a torrent - BUGFIX: Fixed infoBar text when adding a torrent
- BUGFIX: Fixed a unsupported character in man page - BUGFIX: Fixed a unsupported character in man page

View File

@ -650,8 +650,8 @@ void engineSelectDlg::processDownloadedFile(QString url, QString filePath) {
} }
if(url.endsWith(".pyqBT", Qt::CaseInsensitive) || url.endsWith(".py", Qt::CaseInsensitive)) { if(url.endsWith(".pyqBT", Qt::CaseInsensitive) || url.endsWith(".py", Qt::CaseInsensitive)) {
QString plugin_name = url.split('/').last(); QString plugin_name = url.split('/').last();
plugin_name.replace(".py", "");
plugin_name.replace(".pyqBT", ""); plugin_name.replace(".pyqBT", "");
plugin_name.replace(".py", "");
installPlugin(filePath, plugin_name); installPlugin(filePath, plugin_name);
QFile::remove(filePath); QFile::remove(filePath);
return; return;