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
This commit is contained in:
thunder2 2011-07-11 17:00:13 +00:00
parent 70d8fd14d3
commit 4792d7c878

View File

@ -149,7 +149,7 @@ void SecurityItem::updateItemStatic()
* Unknown peer cases.... so allow them here * Unknown peer cases.... so allow them here
*/ */
QDateTime date = QDateTime::fromTime_t(time(NULL)); QDateTime date = QDateTime::currentDateTime();
QString stime = date.toString(Qt::LocalDate); QString stime = date.toString(Qt::LocalDate);
lastLabel-> setText(stime); lastLabel-> setText(stime);
nameLabel->setText(QString::fromStdString(mGpgId)); nameLabel->setText(QString::fromStdString(mGpgId));