common: Always let QVariant::fromValue() deduce the type