fixed a compiler warning
This commit is contained in:
parent
68bbf37327
commit
4de2d7ac44
1 changed files with 14 additions and 13 deletions
|
@ -422,8 +422,6 @@ void CChannelFader::SetChannelInfos ( const CChannelInfo& cChanInfo )
|
|||
}
|
||||
|
||||
// skill level
|
||||
if ( cChanInfo.eSkillLevel != SL_NOT_SET )
|
||||
{
|
||||
switch ( cChanInfo.eSkillLevel )
|
||||
{
|
||||
case SL_BEGINNER:
|
||||
|
@ -437,7 +435,10 @@ void CChannelFader::SetChannelInfos ( const CChannelInfo& cChanInfo )
|
|||
case SL_PROFESSIONAL:
|
||||
strToolTip += "<h4>Skill Level</h4>Expert";
|
||||
break;
|
||||
}
|
||||
|
||||
case SL_NOT_SET:
|
||||
// skill level not set, do not add this entry
|
||||
break;
|
||||
}
|
||||
|
||||
// if no information is given, leave the tool tip empty, otherwise add header
|
||||
|
|
Loading…
Reference in a new issue