mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -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:
@@ -179,10 +179,12 @@ QString QTorrentHandle::save_path() const {
|
||||
return misc::toQString(h.save_path().string());
|
||||
}
|
||||
|
||||
#ifdef LIBTORRENT_0_15
|
||||
bool QTorrentHandle::super_seeding() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
return h.super_seeding();
|
||||
}
|
||||
#endif
|
||||
|
||||
QStringList QTorrentHandle::url_seeds() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
@@ -493,10 +495,12 @@ void QTorrentHandle::file_priority(int index, int priority) const {
|
||||
h.file_priority(index, priority);
|
||||
}
|
||||
|
||||
#ifdef LIBTORRENT_0_15
|
||||
void QTorrentHandle::super_seeding(bool on) const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
h.super_seeding(on);
|
||||
}
|
||||
#endif
|
||||
|
||||
void QTorrentHandle::resolve_countries(bool r) {
|
||||
Q_ASSERT(h.is_valid());
|
||||
|
||||
Reference in New Issue
Block a user