nodes: use defined categories rather than arbitrary string based

This commit is contained in:
itsmattkc
2020-05-05 22:12:15 +10:00
parent 30efe054c7
commit 74d252c5c0
33 changed files with 123 additions and 75 deletions
+2 -2
View File
@@ -61,9 +61,9 @@ QString MathNode::id() const
return QStringLiteral("org.olivevideoeditor.Olive.math");
}
QString MathNode::Category() const
QList<Node::CategoryID> MathNode::Category() const
{
return tr("Math");
return {kCategoryMath};
}
QString MathNode::Description() const