mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 17:53:08 -07:00
- BUGFIX: Fixed search engine plugins update
This commit is contained in:
parent
09abd303bd
commit
c3d3156ec7
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue