nodes: use defined categories rather than arbitrary string based
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user