mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-28 08:54:13 -04:00
using statusRole instead of onlineRole to decide on node string
This commit is contained in:
parent
1b4886715d
commit
794ec3576c
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ QVariant RsFriendListModel::displayRole(const EntryIndex& e, int col) const
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return QVariant(QString::fromUtf8(node->node_info.location.c_str())+"\n"
|
return QVariant(QString::fromUtf8(node->node_info.location.c_str())+"\n"
|
||||||
+ "(" + StatusDefs::name(onlineRole(e,col).toInt()) + ")");
|
+ "(" + StatusDefs::name(statusRole(e,col).toInt()) + ")");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return QVariant(QString::fromUtf8(node->node_info.location.c_str()));
|
return QVariant(QString::fromUtf8(node->node_info.location.c_str()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue