mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
cc9df9a80f
commit
9d7b3446a2
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user