mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Import new trackers from magnet link in case of duplicate torrent (closes #111)
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <QPoint>
|
||||
#include <QFile>
|
||||
#include <QDir>
|
||||
#include <QUrl>
|
||||
#include <QCoreApplication>
|
||||
#ifndef DISABLE_GUI
|
||||
#include <QIcon>
|
||||
@@ -99,8 +100,9 @@ public:
|
||||
// value must be given in bytes
|
||||
static QString friendlyUnit(qreal val, bool is_speed = false);
|
||||
static bool isPreviewable(QString extension);
|
||||
static QString magnetUriToName(QString magnet_uri);
|
||||
static QString magnetUriToHash(QString magnet_uri);
|
||||
static QString magnetUriToName(const QString& magnet_uri);
|
||||
static QString magnetUriToHash(const QString& magnet_uri);
|
||||
static QList<QUrl> magnetUriToTrackers(const QString& magnet_uri);
|
||||
static QString bcLinkToMagnet(QString bc_link);
|
||||
// Take a number of seconds and return an user-friendly
|
||||
// time duration like "1d 2h 10m".
|
||||
|
||||
Reference in New Issue
Block a user