Browse Source

Use a subdomain to redirect to the actual URL for search plugins.

Will allow to move around the plugins in the git repo with the 3.4.0 release.
adaptive-webui-19844
sledgehammer999 8 years ago
parent
commit
b3a7954363
  1. 2
      src/base/searchengine.cpp

2
src/base/searchengine.cpp

@ -62,7 +62,7 @@ static inline void removePythonScriptIfExists(const QString &scriptPath)
const QHash<QString, QString> SearchEngine::m_categoryNames = SearchEngine::initializeCategoryNames(); const QHash<QString, QString> SearchEngine::m_categoryNames = SearchEngine::initializeCategoryNames();
SearchEngine::SearchEngine() SearchEngine::SearchEngine()
: m_updateUrl(QString("https://raw.github.com/qbittorrent/qBittorrent/master/src/searchengine/%1/engines/").arg(Utils::Misc::pythonVersion() >= 3 ? "nova3" : "nova")) : m_updateUrl(QString("http://searchplugins.qbittorrent.org/%1/engines/").arg(Utils::Misc::pythonVersion() >= 3 ? "nova3" : "nova"))
, m_searchStopped(false) , m_searchStopped(false)
{ {
updateNova(); updateNova();

Loading…
Cancel
Save