mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -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
|
@ -502,7 +502,7 @@ QString misc::parseHtmlLinks(const QString &raw_text)
|
|||
return result;
|
||||
}
|
||||
|
||||
#if LIBTORRENT_VERSION_MINOR < 16
|
||||
#if LIBTORRENT_VERSION_MINOR < 16 && LIBTORRENT_VERSION_MAJOR < 1
|
||||
QString misc::toQString(const boost::posix_time::ptime& boostDate) {
|
||||
if (boostDate.is_not_a_date_time()) return "";
|
||||
struct std::tm tm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue