diff --git a/src/serverdlg.cpp b/src/serverdlg.cpp index 9330191b..21151566 100755 --- a/src/serverdlg.cpp +++ b/src/serverdlg.cpp @@ -562,6 +562,7 @@ void CServerDlg::UpdateGUIDependencies() default: break; } + lblRegSvrStatus->setText ( strStatus ); } diff --git a/src/util.h b/src/util.h index 2b8797c9..c5e2d6ac 100755 --- a/src/util.h +++ b/src/util.h @@ -610,7 +610,7 @@ inline QString svrRegStatusToString ( ESvrRegStatus eSvrRegStatus ) 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 }; -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 ------------------------------------------------------------ enum ESkillLevel