switched many QLists for QVectors

Minor optimization
This commit is contained in:
itsmattkc
2020-11-16 16:17:43 +11:00
parent a0fb1981b4
commit 1b9bf6d92c
80 changed files with 273 additions and 281 deletions
+3 -3
View File
@@ -58,7 +58,7 @@ Block::Block() :
set_length_and_media_out(1);
}
QList<Node::CategoryID> Block::Category() const
QVector<Node::CategoryID> Block::Category() const
{
return {kCategoryTimeline};
}
@@ -241,9 +241,9 @@ void Block::SaveInternal(QXmlStreamWriter *writer) const
}
}
QList<NodeInput *> Block::GetInputsToHash() const
QVector<NodeInput *> Block::GetInputsToHash() const
{
QList<NodeInput*> inputs = Node::GetInputsToHash();
QVector<NodeInput*> inputs = Node::GetInputsToHash();
// Ignore these inputs
inputs.removeOne(media_in_input_);