mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
- flush cache before file preview (libtorrent >= 0.15 only)
This commit is contained in:
@@ -547,6 +547,11 @@ void QTorrentHandle::super_seeding(bool on) const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
h.super_seeding(on);
|
||||
}
|
||||
|
||||
void QTorrentHandle::flush_cache() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
h.flush_cache();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef DISABLE_GUI
|
||||
|
||||
Reference in New Issue
Block a user