1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 04:54:18 +00:00

Fix compilation error with libtorrent v0.15

This commit is contained in:
Christophe Dumez 2012-05-20 16:37:22 +03:00
parent d55f3b5aff
commit 23848be6eb

View File

@ -98,7 +98,7 @@ QString QTorrentHandle::creation_date() const {
return t ? misc::toQString(*t) : "";
#else
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
}