convert RSDHT_PEERREQ_ to enum class

This commit is contained in:
sehraf 2020-02-19 19:57:46 +01:00
parent fcaabb1922
commit 46d77bfe7a
No known key found for this signature in database
GPG key ID: DF09F6EAE356B2C6
5 changed files with 20 additions and 17 deletions

View file

@ -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: