cleaning some code style

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3091 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-09 15:56:07 +00:00
parent ee05917d30
commit ead1228535

View File

@ -199,7 +199,6 @@ NetworkDialog::NetworkDialog(QWidget *parent)
getNetworkStatus();
updateNetworkStatus();
//load();
loadtabsettings();
#ifdef RS_RELEASE_VERSION
@ -478,6 +477,7 @@ void NetworkDialog::insertConnect()
else
{
item -> setText(0, "1");
if (detail.hasSignedMe)
{
backgrndcolor=QColor("#42B2B2"); //kind of darkCyan
@ -817,28 +817,6 @@ void NetworkDialog::updateNetworkStatus()
rsiface->unlockData(); /* UnLock Interface */
}
/*void NetworkDialog::load()
{
//ui.check_net->setCheckable(true);
ui.check_upnp->setCheckable(true);
ui.check_dht->setCheckable(true);
ui.check_ext->setCheckable(true);
ui.check_udp->setCheckable(true);
ui.check_tcp->setCheckable(true);
//ui.check_net->setEnabled(false);
ui.check_upnp->setEnabled(false);
ui.check_dht->setEnabled(false);
ui.check_ext->setEnabled(false);
ui.check_udp->setEnabled(false);
ui.check_tcp->setEnabled(false);
ui.radio_nonet->setEnabled(false);
ui.radio_netLimited->setEnabled(false);
ui.radio_netUdp->setEnabled(false);
ui.radio_netServer->setEnabled(false);
}*/
void NetworkDialog::on_actionTabsnorth_activated()
{
ui.networkTab->setTabPosition(QTabWidget::North);