* added DETERM_SYM NAT type to DHT Window.

* cleared DhtWindow global pointer at delete, so RS doesn't crash (and can relaunch window).




git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-netupgrade@4444 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-07-13 22:25:11 +00:00
parent 387db6e7b6
commit 216be04d83

View File

@ -89,6 +89,7 @@ DhtWindow::DhtWindow(QWidget *parent) :
DhtWindow::~DhtWindow()
{
delete ui;
mInstance = NULL;
}
void DhtWindow::changeEvent(QEvent *e)
@ -194,6 +195,9 @@ void DhtWindow::updateNetStatus()
case RSNET_NATTYPE_SYMMETRIC:
label->setText("SYMMETRIC NAT");
break;
case RSNET_NATTYPE_DETERM_SYM:
label->setText("DETERMINISTIC SYM NAT");
break;
case RSNET_NATTYPE_RESTRICTED_CONE:
label->setText("RESTRICTED CONE NAT");
break;