mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
remove unimplemented tcpOk flag
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1750 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
324b51e250
commit
32ea1bfd0f
6 changed files with 8 additions and 66 deletions
|
@ -761,18 +761,9 @@ void NetworkDialog::getNetworkStatus()
|
|||
setLogInfo(tr("UDP Port is not active"), QString::fromUtf8("red"));
|
||||
}
|
||||
|
||||
if(config.netTcpOk)
|
||||
{
|
||||
setLogInfo(tr("TCP Port is active (TCP Server)"), QString::fromUtf8("green"));
|
||||
}
|
||||
else
|
||||
{
|
||||
setLogInfo(tr("TCP Port is not active"), QString::fromUtf8("red"));
|
||||
}
|
||||
|
||||
if (config.netExtOk)
|
||||
{
|
||||
if (config.netUpnpOk || config.netTcpOk)
|
||||
if (config.netUpnpOk)
|
||||
{
|
||||
setLogInfo(tr("RetroShare Server"), QString::fromUtf8("green"));
|
||||
}
|
||||
|
@ -846,21 +837,10 @@ void NetworkDialog::updateNetworkStatus()
|
|||
ui.iconlabel_udp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png"));
|
||||
ui.textlabel_udp->setText(tr("UDP Port is not active"));
|
||||
}
|
||||
|
||||
if(config.netTcpOk)
|
||||
{
|
||||
ui.iconlabel_tcp->setPixmap(QPixmap::QPixmap(":/images/ledon1.png"));
|
||||
ui.textlabel_tcp->setText(tr("TCP Port is active (TCP Server)"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ui.iconlabel_tcp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png"));
|
||||
ui.textlabel_tcp->setText(tr("TCP Port is not active"));
|
||||
}
|
||||
|
||||
|
||||
if (config.netExtOk)
|
||||
{
|
||||
if (config.netUpnpOk || config.netTcpOk)
|
||||
if (config.netUpnpOk)
|
||||
{
|
||||
ui.iconlabel_netServer->setPixmap(QPixmap::QPixmap(":/images/ledon1.png"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue