mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Fix compilation with libtorrent 1.x.x.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user