mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix compilation with libtorrent 1.x.x.
This commit is contained in:
@@ -114,7 +114,7 @@ public:
|
||||
static QList<int> intListfromStringList(const QStringList &l);
|
||||
static QList<bool> boolListfromStringList(const QStringList &l);
|
||||
|
||||
#if LIBTORRENT_VERSION_MINOR < 16
|
||||
#if LIBTORRENT_VERSION_MINOR < 16 && LIBTORRENT_VERSION_MAJOR < 1
|
||||
static QString toQString(const boost::posix_time::ptime& boostDate);
|
||||
#else
|
||||
static QString toQString(time_t t);
|
||||
|
||||
Reference in New Issue
Block a user