mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Use libtorrent version.hpp instead of our own DEFINE
This commit is contained in:
parent
2e0c8f848f
commit
5f23cbc470
17 changed files with 79 additions and 62 deletions
|
|
@ -31,7 +31,8 @@
|
|||
#ifndef TRANSFERLISTWIDGET_H
|
||||
#define TRANSFERLISTWIDGET_H
|
||||
|
||||
#include<QTreeView>
|
||||
#include <QTreeView>
|
||||
#include <libtorrent/version.hpp>
|
||||
#include "qtorrenthandle.h"
|
||||
|
||||
class QStandardItemModel;
|
||||
|
|
@ -106,7 +107,7 @@ protected slots:
|
|||
void updateMetadata(QTorrentHandle &h);
|
||||
void currentChanged(const QModelIndex& current, const QModelIndex&);
|
||||
void resumeTorrent(QTorrentHandle &h);
|
||||
#ifdef LIBTORRENT_0_15
|
||||
#if LIBTORRENT_VERSION_MINOR > 14
|
||||
void toggleSelectedTorrentsSuperSeeding() const;
|
||||
#endif
|
||||
void toggleSelectedTorrentsSequentialDownload() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue