mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
finished conversion to RsNodeGroupId for file transfer and GUI
This commit is contained in:
parent
4ee9effc4e
commit
01c0d2f0f1
29 changed files with 338 additions and 256 deletions
|
@ -297,7 +297,7 @@ static void fillGroups(ConnectFriendWizard *wizard, QComboBox *comboBox, const Q
|
|||
GroupDefs::sortByName(groupInfoList);
|
||||
comboBox->addItem("", ""); // empty value
|
||||
for (std::list<RsGroupInfo>::iterator groupIt = groupInfoList.begin(); groupIt != groupInfoList.end(); ++groupIt) {
|
||||
comboBox->addItem(GroupDefs::name(*groupIt), QString::fromStdString(groupIt->id));
|
||||
comboBox->addItem(GroupDefs::name(*groupIt), QString::fromStdString(groupIt->id.toStdString()));
|
||||
}
|
||||
|
||||
if (groupId.isEmpty() == false) {
|
||||
|
@ -853,7 +853,7 @@ void ConnectFriendWizard::accept()
|
|||
}
|
||||
|
||||
if (!groupId.isEmpty())
|
||||
rsPeers->assignPeerToGroup(groupId.toStdString(), peerDetails.gpg_id, true);
|
||||
rsPeers->assignPeerToGroup(RsNodeGroupId(groupId.toStdString()), peerDetails.gpg_id, true);
|
||||
}
|
||||
|
||||
if ((accept_connection) && (!peerDetails.id.isNull()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue