From 23848be6ebb06b63bcc957dba3dd3ab6c7313d65 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 20 May 2012 16:37:22 +0300 Subject: [PATCH] Fix compilation error with libtorrent v0.15 --- src/qtlibtorrent/qtorrenthandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtlibtorrent/qtorrenthandle.cpp b/src/qtlibtorrent/qtorrenthandle.cpp index 82368e49f..31a52a5d3 100644 --- a/src/qtlibtorrent/qtorrenthandle.cpp +++ b/src/qtlibtorrent/qtorrenthandle.cpp @@ -98,7 +98,7 @@ QString QTorrentHandle::creation_date() const { return t ? misc::toQString(*t) : ""; #else boost::optional boostDate = torrent_handle::get_torrent_info().creation_date(); - return boostDate ? misc::boostTimeToQString(*boostDate) : ""; + return boostDate ? misc::toQString(*boostDate) : ""; #endif }