mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 09:18:45 -04:00
fixed display of temporary shared file text
This commit is contained in:
parent
c77a28c17a
commit
2610f62e41
2 changed files with 11 additions and 11 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue