Drop support for "BC Link" format

Fixup 19d6de795c.
This commit is contained in:
Chocobo1
2019-06-03 17:38:02 +08:00
parent 6f6033cf1c
commit 014273d7ec
2 changed files with 1 additions and 2 deletions

View File

@@ -261,7 +261,7 @@ void SearchJobWidget::downloadTorrent(const QModelIndex &rowIndex)
const QString siteUrl = m_proxyModel->data(
m_proxyModel->index(rowIndex.row(), SearchSortModel::ENGINE_URL)).toString();
if (torrentUrl.startsWith("bc://bt/", Qt::CaseInsensitive) || torrentUrl.startsWith("magnet:", Qt::CaseInsensitive)) {
if (torrentUrl.startsWith("magnet:", Qt::CaseInsensitive)) {
addTorrentToSession(torrentUrl);
}
else {