mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-30 09:13:40 -05:00
tooltips improv
This commit is contained in:
parent
dceeab0e4d
commit
a14b1f60a2
@ -860,17 +860,17 @@ QString RetroShareLink::title() const
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case TYPE_FILE:
|
case TYPE_FILE:
|
||||||
return QString("%1 (%2)").arg(hash()).arg(misc::friendlyUnit(size()));
|
return QString("Size: %2 hash: %1").arg(hash()).arg(misc::friendlyUnit(size()));
|
||||||
|
|
||||||
case TYPE_PERSON:
|
case TYPE_PERSON:
|
||||||
return PeerDefs::rsidFromId(RsPgpId(hash().toStdString()));
|
return PeerDefs::rsidFromId(RsPgpId(hash().toStdString()));
|
||||||
|
|
||||||
case TYPE_FORUM:
|
case TYPE_FORUM:
|
||||||
/* fallthrough */
|
return QString("Forum id: %1").arg(hash());
|
||||||
case TYPE_CHANNEL:
|
case TYPE_CHANNEL:
|
||||||
/* fallthrough */
|
return QString("Channel id: %1").arg(hash());
|
||||||
case TYPE_SEARCH:
|
case TYPE_SEARCH:
|
||||||
break;
|
return QString("Search files");
|
||||||
|
|
||||||
case TYPE_MESSAGE:
|
case TYPE_MESSAGE:
|
||||||
return PeerDefs::rsidFromId(RsPeerId(hash().toStdString()));
|
return PeerDefs::rsidFromId(RsPeerId(hash().toStdString()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user