From 4792d7c87887944c285ec4f02bea537601aa95a2 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 11 Jul 2011 17:00:13 +0000 Subject: [PATCH] Fixed compile on Windows. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-netupgrade@4430 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/feeds/SecurityItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/feeds/SecurityItem.cpp b/retroshare-gui/src/gui/feeds/SecurityItem.cpp index 3d4f63454..75c3cb61d 100644 --- a/retroshare-gui/src/gui/feeds/SecurityItem.cpp +++ b/retroshare-gui/src/gui/feeds/SecurityItem.cpp @@ -149,7 +149,7 @@ void SecurityItem::updateItemStatic() * Unknown peer cases.... so allow them here */ - QDateTime date = QDateTime::fromTime_t(time(NULL)); + QDateTime date = QDateTime::currentDateTime(); QString stime = date.toString(Qt::LocalDate); lastLabel-> setText(stime); nameLabel->setText(QString::fromStdString(mGpgId));