summaryrefslogtreecommitdiffstats
path: root/torrentdisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'torrentdisplay.cpp')
-rw-r--r--torrentdisplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/torrentdisplay.cpp b/torrentdisplay.cpp
index 8f54b81..d9c094c 100644
--- a/torrentdisplay.cpp
+++ b/torrentdisplay.cpp
@@ -118,7 +118,7 @@ void TorrentDisplay::setData(const QList<QVariant> data, const QString &filename
mFileView->resizeColumnToContents(1);
}
if(it.key() == "creation date"){
- qint64 secs = it.value().toLongLong();
+ uint secs = it.value().toUInt();
QDateTime when = QDateTime::fromTime_t(secs);
mCreated->setText(when.toString(Qt::RFC2822Date));
}