From ac6f4539e97897f7d27af4aa3f20aaaed26fb754 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 22 Aug 2011 09:32:03 +0000 Subject: [PATCH] Fixed the display of the time in the SecurityItem. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4573 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/feeds/SecurityItem.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/feeds/SecurityItem.cpp b/retroshare-gui/src/gui/feeds/SecurityItem.cpp index f79ad0345..91ed195bc 100644 --- a/retroshare-gui/src/gui/feeds/SecurityItem.cpp +++ b/retroshare-gui/src/gui/feeds/SecurityItem.cpp @@ -132,6 +132,9 @@ void SecurityItem::updateItemStatic() titleLabel->setText(title); + QDateTime currentTime = QDateTime::currentDateTime(); + timeLabel->setText(currentTime.toString(Qt::LocalDate)); + if (mIsHome) { /* disable buttons */ @@ -152,8 +155,6 @@ void SecurityItem::updateItem() std::cerr << "SecurityItem::updateItem()"; std::cerr << std::endl; #endif - QDateTime currentTime = QDateTime::currentDateTime(); - timeLabel->setText(currentTime.toString(Qt::LocalDate)); if(!RsAutoUpdatePage::eventsLocked()) { /* set textcolor for peer name */