mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-15 17:40:35 -04:00
* 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:
parent
387db6e7b6
commit
216be04d83
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,7 @@ DhtWindow::DhtWindow(QWidget *parent) :
|
||||||
DhtWindow::~DhtWindow()
|
DhtWindow::~DhtWindow()
|
||||||
{
|
{
|
||||||
delete ui;
|
delete ui;
|
||||||
|
mInstance = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DhtWindow::changeEvent(QEvent *e)
|
void DhtWindow::changeEvent(QEvent *e)
|
||||||
|
@ -194,6 +195,9 @@ void DhtWindow::updateNetStatus()
|
||||||
case RSNET_NATTYPE_SYMMETRIC:
|
case RSNET_NATTYPE_SYMMETRIC:
|
||||||
label->setText("SYMMETRIC NAT");
|
label->setText("SYMMETRIC NAT");
|
||||||
break;
|
break;
|
||||||
|
case RSNET_NATTYPE_DETERM_SYM:
|
||||||
|
label->setText("DETERMINISTIC SYM NAT");
|
||||||
|
break;
|
||||||
case RSNET_NATTYPE_RESTRICTED_CONE:
|
case RSNET_NATTYPE_RESTRICTED_CONE:
|
||||||
label->setText("RESTRICTED CONE NAT");
|
label->setText("RESTRICTED CONE NAT");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue