mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-12 08:10:46 -04:00
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:
parent
6914897584
commit
bedb77af73
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ QVariant TreeStyle_RDM::displayRole(const DirDetails& details,int coln) const
|
||||||
switch(coln)
|
switch(coln)
|
||||||
{
|
{
|
||||||
case 0:
|
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:
|
case 1:
|
||||||
return QString() ;
|
return QString() ;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue