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