mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Drop libtorrent 0.15.x support.
This commit is contained in:
parent
243abaf524
commit
b4dca951b2
23 changed files with 19 additions and 518 deletions
|
@ -453,11 +453,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint&) {
|
|||
myFilesLlistMenu.addSeparator();
|
||||
}
|
||||
QMenu subMenu;
|
||||
#if LIBTORRENT_VERSION_NUM >= 001600
|
||||
if (!h.status(0x0).is_seeding) {
|
||||
#else
|
||||
if (!static_cast<torrent_handle>(h).is_seed()) {
|
||||
#endif
|
||||
subMenu.setTitle(tr("Priority"));
|
||||
subMenu.addAction(actionNot_downloaded);
|
||||
subMenu.addAction(actionNormal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue