Export notes in recipe.
This commit is contained in:
parent
612a48710e
commit
d609214f92
|
@ -89,7 +89,7 @@ VPatternRecipe::VPatternRecipe(VContainer *data, VAbstractPattern *pattern, QObj
|
||||||
|
|
||||||
QDomElement recipeElement = createElement(QStringLiteral("recipe"));
|
QDomElement recipeElement = createElement(QStringLiteral("recipe"));
|
||||||
recipeElement.appendChild(createComment(FileComment()));
|
recipeElement.appendChild(createComment(FileComment()));
|
||||||
SetAttribute(recipeElement, QStringLiteral("version"), QStringLiteral("1.1.0"));
|
SetAttribute(recipeElement, QStringLiteral("version"), QStringLiteral("1.2.0"));
|
||||||
|
|
||||||
recipeElement.appendChild(Prerequisite());
|
recipeElement.appendChild(Prerequisite());
|
||||||
recipeElement.appendChild(Content());
|
recipeElement.appendChild(Content());
|
||||||
|
@ -1105,6 +1105,7 @@ inline void VPatternRecipe::ToolAttributes(QDomElement &step, T *tool)
|
||||||
{
|
{
|
||||||
SetAttribute(step, AttrType, T::ToolType);
|
SetAttribute(step, AttrType, T::ToolType);
|
||||||
SetAttribute(step, AttrLabel, tool->name());
|
SetAttribute(step, AttrLabel, tool->name());
|
||||||
|
SetAttribute(step, AttrNotes, tool->GetNotes());
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user