mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
* 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:
parent
5b70ef6076
commit
33282bfc77
4 changed files with 73 additions and 16 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue