mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 13:18:06 -06:00
- Make everything compile back with libtorrent v0.14
- Fix crash in search engine destructor if downloads are running
This commit is contained in:
@@ -99,6 +99,7 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#ifdef LIBTORRENT_0_15
|
||||
static void setSeedingMode(QString hash,bool seed){
|
||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent-resume"));
|
||||
QHash<QString, QVariant> all_data = settings.value("torrents-tmp", QHash<QString, QVariant>()).toHash();
|
||||
@@ -116,7 +117,7 @@ public:
|
||||
return data["seeding"].toBool();
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static QString getSavePath(QString hash) {
|
||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent-resume"));
|
||||
|
||||
Reference in New Issue
Block a user