mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
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:
parent
9113d01977
commit
255b5dca39
6 changed files with 225 additions and 19 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue