Fix compiler warning when comparing qreal == bool and enum == bool
warning C4805: '==': unsafe mix of type 'IconLabelLayout::Display' and type 'bool' in operation
warning C4805: '==': unsafe mix of type 'IconLabelLayout::Display' and type 'bool' in operation