using statusRole instead of onlineRole to decide on node string

This commit is contained in:
csoler 2024-06-13 11:08:28 +02:00
parent 1b4886715d
commit 794ec3576c

View File

@ -755,7 +755,7 @@ QVariant RsFriendListModel::displayRole(const EntryIndex& e, int col) const
else
{
return QVariant(QString::fromUtf8(node->node_info.location.c_str())+"\n"
+ "(" + StatusDefs::name(onlineRole(e,col).toInt()) + ")");
+ "(" + StatusDefs::name(statusRole(e,col).toInt()) + ")");
}
else
return QVariant(QString::fromUtf8(node->node_info.location.c_str()));