fixed item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-09-24 23:26:27 +00:00
parent 9bec37e7f2
commit d59e85efa5

View File

@ -637,6 +637,7 @@ void SearchDialog::insertDirectory(const std::string &txt, qulonglong searchId,
child->setIcon(SR_ICON_COL, QIcon(IMAGE_DIRECTORY));
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::friendlyUnit(dir.count));
child->setText(SR_AGE_COL, misc::userFriendlyDuration(dir.age));
child->setText(SR_REALSIZE_COL, QString::number(dir.count));
child->setTextAlignment( SR_SIZE_COL, Qt::AlignRight );