From c3d3156ec72d270a00aff867e42f2c12256f8890 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 27 Sep 2007 19:09:32 +0000 Subject: [PATCH] - BUGFIX: Fixed search engine plugins update --- TODO | 1 + src/engineSelectDlg.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 1be2e22ad..184c79ea7 100644 --- a/TODO +++ b/TODO @@ -79,6 +79,7 @@ LANGUAGES UPDATED: - Bulgarian *OK* rc1->rc2 changelog: +- BUGFIX: Fixed search engine plugins update - BUGFIX: Fixed mininova search engine plugin - BUGFIX: Fixed infoBar text when adding a torrent - BUGFIX: Fixed a unsupported character in man page diff --git a/src/engineSelectDlg.cpp b/src/engineSelectDlg.cpp index 465ed8878..cbe57c1ac 100644 --- a/src/engineSelectDlg.cpp +++ b/src/engineSelectDlg.cpp @@ -650,8 +650,8 @@ void engineSelectDlg::processDownloadedFile(QString url, QString filePath) { } if(url.endsWith(".pyqBT", Qt::CaseInsensitive) || url.endsWith(".py", Qt::CaseInsensitive)) { QString plugin_name = url.split('/').last(); - plugin_name.replace(".py", ""); plugin_name.replace(".pyqBT", ""); + plugin_name.replace(".py", ""); installPlugin(filePath, plugin_name); QFile::remove(filePath); return;