mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Drop support for libtorrent v0.14.x
This commit is contained in:
parent
0c9dbc15f9
commit
a53a70742d
20 changed files with 35 additions and 260 deletions
|
@ -96,10 +96,9 @@ void PreviewSelect::on_previewButton_clicked(){
|
|||
QModelIndex index;
|
||||
QModelIndexList selectedIndexes = previewList->selectionModel()->selectedRows(NAME);
|
||||
if(selectedIndexes.size() == 0) return;
|
||||
#if LIBTORRENT_VERSION_MINOR > 14
|
||||
// Flush data
|
||||
h.flush_cache();
|
||||
#endif
|
||||
|
||||
QString path;
|
||||
foreach(index, selectedIndexes){
|
||||
path = h.absolute_files_path().at(indexes.at(index.row()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue