mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
committed by
GitHub
parent
669b67e666
commit
7377974731
@@ -392,8 +392,7 @@ void SearchPluginManager::pluginDownloadFinished(const Net::DownloadResult &resu
|
||||
{
|
||||
const Path filePath = result.filePath;
|
||||
|
||||
Path pluginPath {QUrl(result.url).path()};
|
||||
pluginPath.removeExtension(); // Remove extension
|
||||
const auto pluginPath = Path(QUrl(result.url).path()).removedExtension();
|
||||
installPlugin_impl(pluginPath.filename(), filePath);
|
||||
Utils::Fs::removeFile(filePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user