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
This commit is contained in:
thunder2 2011-08-22 09:32:03 +00:00
parent 01fa9eec3f
commit ac6f4539e9

View File

@ -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 */