some code cleanup
This commit is contained in:
parent
6f962aae4f
commit
65583e3451
2 changed files with 2 additions and 14 deletions
|
@ -562,6 +562,7 @@ void CServerDlg::UpdateGUIDependencies()
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
lblRegSvrStatus->setText ( strStatus );
|
lblRegSvrStatus->setText ( strStatus );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
15
src/util.h
15
src/util.h
|
@ -610,7 +610,7 @@ inline QString svrRegStatusToString ( ESvrRegStatus eSvrRegStatus )
|
||||||
return "Central Server full";
|
return "Central Server full";
|
||||||
}
|
}
|
||||||
|
|
||||||
return QString("Unknown value ").append( eSvrRegStatus );
|
return QString ( "Unknown value " ).append ( eSvrRegStatus );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -622,19 +622,6 @@ enum ESvrRegResult
|
||||||
SRR_CENTRAL_SVR_FULL = 1
|
SRR_CENTRAL_SVR_FULL = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
inline QString svrRegResultToString ( ESvrRegResult eSvrRegResult )
|
|
||||||
{
|
|
||||||
switch ( eSvrRegResult )
|
|
||||||
{
|
|
||||||
case SRR_REGISTERED:
|
|
||||||
return "Registered";
|
|
||||||
case SRR_CENTRAL_SVR_FULL:
|
|
||||||
return "Central Server full";
|
|
||||||
}
|
|
||||||
|
|
||||||
return QString("Unknown value ").append( eSvrRegResult );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Skill level enum ------------------------------------------------------------
|
// Skill level enum ------------------------------------------------------------
|
||||||
enum ESkillLevel
|
enum ESkillLevel
|
||||||
|
|
Loading…
Reference in a new issue