- flush cache before file preview (libtorrent >= 0.15 only)

This commit is contained in:
Christophe Dumez
2010-01-09 21:39:17 +00:00
parent abf35a31f3
commit bd5880843f
4 changed files with 18 additions and 2 deletions

View File

@@ -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