mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Drop support for libtorrent v0.14.x
This commit is contained in:
@@ -118,7 +118,6 @@ public:
|
||||
return data.value("sequential", false).toBool();
|
||||
}
|
||||
|
||||
#if LIBTORRENT_VERSION_MINOR > 14
|
||||
static void setSeedingMode(QString hash,bool seed){
|
||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent-resume"));
|
||||
QHash<QString, QVariant> all_data = settings.value("torrents-tmp").toHash();
|
||||
@@ -134,7 +133,6 @@ public:
|
||||
const QHash<QString, QVariant> data = all_data.value(hash).toHash();
|
||||
return data.value("seeding", false).toBool();
|
||||
}
|
||||
#endif
|
||||
|
||||
static QString getSavePath(QString hash) {
|
||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent-resume"));
|
||||
|
||||
Reference in New Issue
Block a user