From 7b6962499a77c7a015e8f880d594a43a2c4e2e80 Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 25 Mar 2010 18:00:43 +0000 Subject: [PATCH] Fixed age (time stamp) of directories git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2631 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/SearchDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/SearchDialog.cpp b/retroshare-gui/src/gui/SearchDialog.cpp index 025e8a55e..f1fb74d7e 100644 --- a/retroshare-gui/src/gui/SearchDialog.cpp +++ b/retroshare-gui/src/gui/SearchDialog.cpp @@ -764,7 +764,7 @@ void SearchDialog::insertDirectory(const std::string &txt, qulonglong searchId, child->setText(SR_NAME_COL, QString::fromUtf8(dir.name.c_str())); child->setText(SR_HASH_COL, QString::fromStdString(dir.hash)); child->setText(SR_SIZE_COL, misc::toQString(dir.count)); - child->setText(SR_AGE_COL, misc::userFriendlyDuration(dir.age)); + child->setText(SR_AGE_COL, misc::userFriendlyDuration(dir.min_age)); child->setText(SR_REALSIZE_COL, QString::number(dir.count)); child->setTextAlignment( SR_SIZE_COL, Qt::AlignRight ); child->setText(SR_ID_COL, QString::number(1));