small fix

This commit is contained in:
sehraf 2015-08-18 23:17:29 +02:00
parent 36349814a6
commit 80d765e1d6

View File

@ -1929,7 +1929,7 @@ bool FriendList::importFriendlist(QString &fileName, bool &errorPeers, bool &err
// add pgp id to group // add pgp id to group
RsPgpId rsPgpId(pgpIDForGroup.toStdString()); RsPgpId rsPgpId(pgpIDForGroup.toStdString());
if(rsPeers->assignPeerToGroup(groupId, rsPgpId, true)) { if(rsPeers->assignPeerToGroup(groupId, rsPgpId, true)) {
errorPeers = true; errorGroups = true;
std::cerr << "FriendList::importFriendlist(): failed to add '" << rsPeers->getGPGName(rsPgpId) << "'' to group '" << groupName << "'" << std::endl; std::cerr << "FriendList::importFriendlist(): failed to add '" << rsPeers->getGPGName(rsPgpId) << "'' to group '" << groupName << "'" << std::endl;
} }
} }