Fixed sort of friends in shared files.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-06-13 15:19:38 +00:00
parent 10d83d72b3
commit 4e1ae88ee9

View File

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