Updated retroshare-gui to match libretroshare interface changes.

* remove calls to rsPeers->setAcceptToConnectGPGCertificate();
 * these are replaced with addFriend() / removeFriend().
 * renamed rsPeers->getSSLChildListOfGPGId() => rsPeers->getAssociatedSSLIds().



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4543 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-08-07 21:14:09 +00:00
parent 8e3e7d5209
commit b082362c58
8 changed files with 18 additions and 19 deletions

View file

@ -449,7 +449,7 @@ void MessengerWindow::insertPeers()
//add own gpg id, if we have more than on location (ssl client)
std::list<std::string> ownSslContacts;
rsPeers->getSSLChildListOfGPGId(sOwnId, ownSslContacts);
rsPeers->getAssociatedSSLIds(sOwnId, ownSslContacts);
if (ownSslContacts.size() > 0) {
gpgFriends.push_back(sOwnId);
}
@ -530,7 +530,7 @@ void MessengerWindow::insertPeers()
std::map<std::string, std::string> sslLocations;
std::map<std::string, QString> sslCustomStateStrings;
rsPeers->getSSLChildListOfGPGId(detail.gpg_id, sslContacts);
rsPeers->getAssociatedSSLIds(detail.gpg_id, sslContacts);
for(std::list<std::string>::iterator sslIt = sslContacts.begin(); sslIt != sslContacts.end(); sslIt++) {
QTreeWidgetItem *sslItem = NULL;