mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 09:18:45 -04:00
convert RSDHT_PEERREQ_ to enum class
This commit is contained in:
parent
fcaabb1922
commit
46d77bfe7a
5 changed files with 20 additions and 17 deletions
|
@ -477,10 +477,10 @@ void DhtWindow::updateNetPeers()
|
|||
}
|
||||
switch(status.mPeerReqState)
|
||||
{
|
||||
case RSDHT_PEERREQ_RUNNING:
|
||||
case RsDhtPeerRequest::RUNNING:
|
||||
reqstr += tr("Request Active");
|
||||
break;
|
||||
case RSDHT_PEERREQ_STOPPED:
|
||||
case RsDhtPeerRequest::STOPPED:
|
||||
reqstr += tr("No Request");
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue