aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-25 23:14:10 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-25 23:14:10 +0200
commit0030c1bd6cdee44d9f59af9a023cd39cbd335bd5 (patch)
treee73548790782aacb7be421d8beb60031e03afdf7 /src/qt/guiutil.cpp
parenta404b1512a0938091770e1f0de45412f4df12923 (diff)
compile fixes by Unthinkingbit
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r--src/qt/guiutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index a81cc14fe8..ec8b43526d 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -9,7 +9,7 @@
QString GUIUtil::DateTimeStr(qint64 nTime)
{
- QDateTime date = QDateTime::fromMSecsSinceEpoch(nTime*1000);
+ QDateTime date = QDateTime::fromTime_t((qint32)nTime);
return date.date().toString(Qt::SystemLocaleShortDate) + QString(" ") + date.toString("hh:mm");
}