mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -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…
Reference in New Issue
Block a user