mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 04:14:27 -04:00
* 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:
parent
63d66ee53c
commit
fd992ac813
2 changed files with 7 additions and 4 deletions
|
@ -643,9 +643,9 @@ void bdNodeManager::SearchForLocalNet()
|
||||||
int bdNodeManager::status()
|
int bdNodeManager::status()
|
||||||
{
|
{
|
||||||
/* do status of bdNode */
|
/* do status of bdNode */
|
||||||
//#ifdef DEBUG_MGR
|
#ifdef DEBUG_MGR
|
||||||
printState();
|
printState();
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
checkStatus();
|
checkStatus();
|
||||||
checkBadPeerStatus();
|
checkBadPeerStatus();
|
||||||
|
@ -655,10 +655,10 @@ int bdNodeManager::status()
|
||||||
mBdNetworkSize = mNodeSpace.calcNetworkSizeWithFlag(
|
mBdNetworkSize = mNodeSpace.calcNetworkSizeWithFlag(
|
||||||
LOCAL_NET_FLAG);
|
LOCAL_NET_FLAG);
|
||||||
|
|
||||||
//#ifdef DEBUG_MGR
|
#ifdef DEBUG_MGR
|
||||||
std::cerr << "BitDHT NetworkSize: " << mNetworkSize << std::endl;
|
std::cerr << "BitDHT NetworkSize: " << mNetworkSize << std::endl;
|
||||||
std::cerr << "BitDHT App NetworkSize: " << mBdNetworkSize << std::endl;
|
std::cerr << "BitDHT App NetworkSize: " << mBdNetworkSize << std::endl;
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,9 @@ OpModeStatus::OpModeStatus(QWidget *parent)
|
||||||
addItem(tr("Low Traffic"), RS_OPMODE_MINIMAL);
|
addItem(tr("Low Traffic"), RS_OPMODE_MINIMAL);
|
||||||
|
|
||||||
connect(this, SIGNAL(activated( int )), this, SLOT(setOpMode()));
|
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"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue