Browse Source

Fix compilation error with libtorrent v0.15

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
23848be6eb
  1. 2
      src/qtlibtorrent/qtorrenthandle.cpp

2
src/qtlibtorrent/qtorrenthandle.cpp

@ -98,7 +98,7 @@ QString QTorrentHandle::creation_date() const { @@ -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
}

Loading…
Cancel
Save