From fd992ac8133b653b6f3086cb34e529f9c7ad8e94 Mon Sep 17 00:00:00 2001 From: drbob Date: Sun, 9 Dec 2012 22:27:34 +0000 Subject: [PATCH] * 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 --- libbitdht/src/bitdht/bdmanager.cc | 8 ++++---- retroshare-gui/src/gui/statusbar/OpModeStatus.cpp | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libbitdht/src/bitdht/bdmanager.cc b/libbitdht/src/bitdht/bdmanager.cc index 5d12cc52d..0803899ea 100644 --- a/libbitdht/src/bitdht/bdmanager.cc +++ b/libbitdht/src/bitdht/bdmanager.cc @@ -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; } diff --git a/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp b/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp index ebe226d2a..cbfd77a58 100644 --- a/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp +++ b/retroshare-gui/src/gui/statusbar/OpModeStatus.cpp @@ -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")); + }