fixed display of friend name instead of id in file lists

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-06-02 18:50:09 +00:00
parent 6914897584
commit bedb77af73

View File

@ -310,7 +310,7 @@ QVariant TreeStyle_RDM::displayRole(const DirDetails& details,int coln) const
switch(coln)
{
case 0:
return (RemoteMode)?(QString::fromUtf8(details.name.c_str())):tr("My files") ;
return (RemoteMode)?(QString::fromUtf8(rsPeers->getPeerName(details.id).c_str())):tr("My files");
case 1:
return QString() ;
case 2: