mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
Fix compilation error with libtorrent v0.15
This commit is contained in:
parent
d55f3b5aff
commit
23848be6eb
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user