Simplify QVariant::convert and QVariant::canConvert calls.