mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 15:51:29 -04:00
Fixes for visState -> vs_disc & vs_dht.
Added RTT Gui. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6775 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
90aa57a0f0
commit
ba157e4891
15 changed files with 644 additions and 134 deletions
|
@ -121,11 +121,10 @@ NetworkDialog::NetworkDialog(QWidget *parent)
|
|||
ui.onlyTrustedKeys->setMinimumWidth(20);
|
||||
|
||||
QString version = "-";
|
||||
std::map<std::string, std::string>::iterator vit;
|
||||
std::map<std::string, std::string> versions;
|
||||
bool retv = rsDisc->getDiscVersions(versions);
|
||||
if (retv && versions.end() != (vit = versions.find(rsPeers->getOwnId()))) {
|
||||
version = QString::fromStdString(vit->second);
|
||||
std::string rsversion;
|
||||
if (rsDisc->getPeerVersion(rsPeers->getOwnId(), rsversion))
|
||||
{
|
||||
version = QString::fromStdString(rsversion);
|
||||
}
|
||||
|
||||
QMenu *menu = new QMenu();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue