mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Initial port to libtorrent v0.16
This commit is contained in:
parent
4412476109
commit
3995af6489
15 changed files with 382 additions and 154 deletions
|
@ -474,7 +474,11 @@ void PropertiesWidget::displayFilesListMenu(const QPoint&){
|
|||
myFilesLlistMenu.addSeparator();
|
||||
}
|
||||
QMenu subMenu;
|
||||
#if LIBTORRENT_VERSION_MINOR > 15
|
||||
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