mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Fix compilation error with libtorrent v0.15
This commit is contained in:
@@ -98,7 +98,7 @@ QString QTorrentHandle::creation_date() const {
|
|||||||
return t ? misc::toQString(*t) : "";
|
return t ? misc::toQString(*t) : "";
|
||||||
#else
|
#else
|
||||||
boost::optional<boost::posix_time::ptime> boostDate = torrent_handle::get_torrent_info().creation_date();
|
boost::optional<boost::posix_time::ptime> boostDate = torrent_handle::get_torrent_info().creation_date();
|
||||||
return boostDate ? misc::boostTimeToQString(*boostDate) : "";
|
return boostDate ? misc::toQString(*boostDate) : "";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user