summaryrefslogtreecommitdiffstats
path: root/torrentdisplay.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-12-09 06:13:53 +0100
committerArno <arno@disconnect.de>2018-12-09 06:13:53 +0100
commit21669640641ecf7a9a9adbd37902528d1f814a20 (patch)
tree3195286e047e14c5febf629e009e69031b81fabd /torrentdisplay.cpp
parent017146d134bb7baf257481a766cab21301b481cb (diff)
downloadShemovCleaner-21669640641ecf7a9a9adbd37902528d1f814a20.tar.gz
ShemovCleaner-21669640641ecf7a9a9adbd37902528d1f814a20.tar.bz2
ShemovCleaner-21669640641ecf7a9a9adbd37902528d1f814a20.zip
Fix clang warnings for torrent*
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));
}