added the basic natstatus feature for statusbar,

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1150 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-05-01 12:45:27 +00:00
parent 9113d01977
commit 255b5dca39
6 changed files with 225 additions and 19 deletions

View file

@ -639,20 +639,20 @@ void NetworkDialog::getNetworkStatus()
if(config.netUdpOk)
{
setLogInfo(tr("UDP Port is Reacheable"), QString::fromUtf8("green"));
setLogInfo(tr("UDP Port is reachable"), QString::fromUtf8("green"));
}
else
{
setLogInfo(tr("UDP Port isnt Reacheable"), QString::fromUtf8("red"));
setLogInfo(tr("UDP Port is not reachable"), QString::fromUtf8("red"));
}
if(config.netTcpOk)
{
setLogInfo(tr("TCP Port is Reacheable"), QString::fromUtf8("green"));
setLogInfo(tr("TCP Port is reachable"), QString::fromUtf8("green"));
}
else
{
setLogInfo(tr("TCP Port is not Reacheable"), QString::fromUtf8("red"));
setLogInfo(tr("TCP Port is not reachable"), QString::fromUtf8("red"));
}
if (config.netExtOk)
@ -708,4 +708,4 @@ void NetworkDialog::on_actionTabsRounded_activated()
{
ui.networkTab->setTabShape(QTabWidget::Rounded);
ui.tabBottom->setTabShape(QTabWidget::Rounded);
}
}