fixed display of temporary shared file text

This commit is contained in:
csoler 2018-09-27 21:42:21 +02:00
parent c77a28c17a
commit 2610f62e41
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
2 changed files with 11 additions and 11 deletions

View file

@ -457,13 +457,12 @@ QVariant TreeStyle_RDM::displayRole(const DirDetails& details,int coln) const
QString res ;
if(RemoteMode)
{
res = QString::fromUtf8(rsPeers->getPeerName(details.id).c_str());
}
else
{
res = tr("My files");
}
else if(details.id == rsPeers->getOwnId())
res = tr("My files");
else
res = tr("Temporary shared files");
return res ;
}
case COLUMN_FILENB: {