mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed naming in friend groups in GroupChooser
This commit is contained in:
parent
77b064b371
commit
e9f9856048
@ -52,7 +52,7 @@ bool GroupChooser::makeNodeGroupDesc(const RsGroupInfo& info, QString &desc)
|
||||
if(info.name.empty())
|
||||
desc = tr("[Unknown]") ;
|
||||
else
|
||||
desc = "\"" + QString::fromUtf8(info.name.c_str()) + "\"";
|
||||
desc = "\"" + GroupDefs::name(info) + "\"";
|
||||
|
||||
desc += " [" ;
|
||||
desc += QString::fromStdString(info.id.toStdString().substr(0,3));
|
||||
@ -89,7 +89,7 @@ void GroupChooser::loadGroups()
|
||||
std::cerr << std::endl;
|
||||
continue;
|
||||
}
|
||||
QString id = GroupDefs::name(*it) ;
|
||||
QString id = QString::fromStdString((*it).id.toStdString()) ;
|
||||
|
||||
addItem(str, id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user