Display UDP addresses in Dht WIndow.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4470 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-07-19 00:06:52 +00:00
parent cc9df9a80f
commit 9d7b3446a2

View File

@ -146,21 +146,24 @@ void DhtWindow::update()
void DhtWindow::updateNetStatus()
{
QString status;
QString oldstatus;
#if 0
QString status = QString::fromStdString(mPeerNet->getPeerStatusString());
QString oldstatus = ui->peerLine->text();
status = QString::fromStdString(mPeerNet->getPeerStatusString());
oldstatus = ui->peerLine->text();
if (oldstatus != status)
{
ui->peerLine->setText(status);
}
#endif
status = QString::fromStdString(mPeerNet->getPeerAddressString());
status = QString::fromStdString(rsDht->getUdpAddressString());
oldstatus = ui->peerAddressLabel->text();
if (oldstatus != status)
{
ui->peerAddressLabel->setText(status);
}
#endif
uint32_t netMode = rsConfig->getNetworkMode();