mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Fix compilation error with libtorrent v0.15
This commit is contained in:
parent
d55f3b5aff
commit
23848be6eb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue