* Tweaks to switch DHT On/Off, (coupled with Discovery)

* display of DHT size.
	* Added CoreFoundation to .pro file.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3723 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2010-10-31 14:02:33 +00:00
parent 5b70ef6076
commit 33282bfc77
4 changed files with 73 additions and 16 deletions

View file

@ -82,6 +82,15 @@ void DHTStatus::getDHTStatus()
dhtstatusLabel->setPixmap(QPixmap(":/images/redled.png"));
dhtstatusLabel->setToolTip(tr("DHT Off"));
}
QString dhtsize;
{
std::ostringstream out;
out << (int) config.netDhtRsNetSize << " ( " << (int) config.netDhtNetSize << " )";
dhtsize = QString::fromStdString(out.str());
}
dhtnetworksizeLabel->setText(dhtsize);
rsiface->unlockData(); /* UnLock Interface */