mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
fixed to display filesize formated in Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2613 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
04607c1205
commit
8a5863af1d
@ -867,7 +867,7 @@ void MessagesDialog::insertMsgTxtAndFiles(QModelIndex Index)
|
||||
item -> setText(0, QString::fromStdString(it->fname));
|
||||
//std::cerr << "Msg FileItem(" << it->fname.length() << ") :" << it->fname << std::endl;
|
||||
|
||||
item -> setText(1, QString::number(it->size)); /* (1) Size */
|
||||
item -> setText(1, misc::friendlyUnit(it->size)); /* (1) Size */
|
||||
item -> setText(2, QString::number(0)); /* (2) Rank */ // what is this ???
|
||||
item -> setText(3, QString::fromStdString(it->hash));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user