Units: Delete QML FontMetrics object when Units is destructed
The documentation of QQmlComponent::create says "The ownership of the returned object instance is transferred to the caller", so we need to take care of deleting the resulting QObject.
The documentation of QQmlComponent::create says "The ownership of the returned object instance is transferred to the caller", so we need to take care of deleting the resulting QObject.