* add ToolTip to OpModeStatus .... (can't actually view - please correct as necessary)

* disable bitdht printStatus



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5957 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2012-12-09 22:27:34 +00:00
parent 63d66ee53c
commit fd992ac813
2 changed files with 7 additions and 4 deletions

View File

@ -643,9 +643,9 @@ void bdNodeManager::SearchForLocalNet()
int bdNodeManager::status()
{
/* do status of bdNode */
//#ifdef DEBUG_MGR
#ifdef DEBUG_MGR
printState();
//#endif
#endif
checkStatus();
checkBadPeerStatus();
@ -655,10 +655,10 @@ int bdNodeManager::status()
mBdNetworkSize = mNodeSpace.calcNetworkSizeWithFlag(
LOCAL_NET_FLAG);
//#ifdef DEBUG_MGR
#ifdef DEBUG_MGR
std::cerr << "BitDHT NetworkSize: " << mNetworkSize << std::endl;
std::cerr << "BitDHT App NetworkSize: " << mBdNetworkSize << std::endl;
//#endif
#endif
return 1;
}

View File

@ -36,6 +36,9 @@ OpModeStatus::OpModeStatus(QWidget *parent)
addItem(tr("Low Traffic"), RS_OPMODE_MINIMAL);
connect(this, SIGNAL(activated( int )), this, SLOT(setOpMode()));
setToolTip(tr("Use this DropList to quickly change Retroshare's behaviour\n No Anon D/L: switches off file forwarding\n Gaming Mode: 25% standard traffic and TODO: reduced popups\n Low Traffic: 10% standard traffic and TODO: pauses all file-transfers"));
}