mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Drop support for libtorrent v0.14.x
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user