144
142
} else if ( rhs.userType() == qMetaTypeId<Grantlee::SafeString>() && lhs.userType() == QVariant::String ) {
145
143
equal = ( rhs.value<Grantlee::SafeString>() == lhs.toString() );
146
144
} else if ( rhs.userType() == qMetaTypeId<MetaEnumVariable>() ) {
148
146
equal = ( rhs.value<MetaEnumVariable>() == lhs.value<MetaEnumVariable>() );
149
147
} else if ( lhs.type() == QVariant::Int ) {
150
148
equal = ( rhs.value<MetaEnumVariable>() == lhs.toInt() );