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));