From e9f98560483be09368810c16242628c22b1d56e6 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 2 Jul 2017 10:42:22 +0200 Subject: [PATCH] fixed naming in friend groups in GroupChooser --- retroshare-gui/src/gui/common/GroupChooser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/common/GroupChooser.cpp b/retroshare-gui/src/gui/common/GroupChooser.cpp index b82bc85e7..ca283c1a4 100644 --- a/retroshare-gui/src/gui/common/GroupChooser.cpp +++ b/retroshare-gui/src/gui/common/GroupChooser.cpp @@ -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);