mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Fix compilation with libtorrent 1.x.x.
This commit is contained in:
parent
4f667c6e7d
commit
94b58ca229
19 changed files with 99 additions and 99 deletions
|
@ -459,7 +459,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint&) {
|
|||
myFilesLlistMenu.addSeparator();
|
||||
}
|
||||
QMenu subMenu;
|
||||
#if LIBTORRENT_VERSION_MINOR > 15
|
||||
#if LIBTORRENT_VERSION_MINOR > 15 || LIBTORRENT_VERSION_MAJOR > 0
|
||||
if (!h.status(0x0).is_seeding) {
|
||||
#else
|
||||
if (!static_cast<torrent_handle>(h).is_seed()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue