diff options
Diffstat (limited to 'examples/network/torrent/metainfo.cpp')
-rw-r--r-- | examples/network/torrent/metainfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/torrent/metainfo.cpp b/examples/network/torrent/metainfo.cpp index e3718999b8..565533e2f9 100644 --- a/examples/network/torrent/metainfo.cpp +++ b/examples/network/torrent/metainfo.cpp @@ -141,7 +141,7 @@ bool MetaInfo::parse(const QByteArray &data) } if (dict.contains("creation date")) - metaInfoCreationDate.setTime_t(dict.value("creation date").toInt()); + metaInfoCreationDate.setSecsSinceEpoch(dict.value("creation date").toInt()); if (dict.contains("comment")) metaInfoComment = QString::fromUtf8(dict.value("comment").toByteArray()); if (dict.contains("created by")) |