void ObjectNodeInstance::resetProperty(const QString &name) { doResetProperty(name); if (name == "font.pixelSize") doResetProperty("font.pointSize"); if (name == "font.pointSize") doResetProperty("font.pixelSize"); }
void ObjectNodeInstance::resetProperty(const PropertyName &name) { if (ignoredProperties().contains(name)) return; doResetProperty(name); if (name == "font.pixelSize") doResetProperty("font.pointSize"); if (name == "font.pointSize") doResetProperty("font.pixelSize"); }