fixed gcc compile issues

This commit is contained in:
itsmattkc
2020-01-19 20:39:48 +11:00
parent 1101b58ee8
commit 4697b98980
30 changed files with 55 additions and 46 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ Footage::~Footage()
ClearStreams();
}
void Footage::Load(QXmlStreamReader *reader, QHash<quintptr, StreamPtr>& footage_ptrs, QList<NodeParam::FootageConnection>& footage_connections)
void Footage::Load(QXmlStreamReader *reader, QHash<quintptr, StreamPtr>& footage_ptrs, QList<NodeParam::FootageConnection>&)
{
QXmlStreamAttributes attributes = reader->attributes();
+3 -3
View File
@@ -140,15 +140,15 @@ StreamID Stream::ToID() const
return StreamID(footage_->filename(), index_);
}
void Stream::FootageSetEvent(Footage *)
void Stream::FootageSetEvent(Footage*)
{
}
void Stream::LoadCustomParameters(QXmlStreamReader* reader)
void Stream::LoadCustomParameters(QXmlStreamReader*)
{
}
void Stream::SaveCustomParameters(QXmlStreamWriter *writer) const
void Stream::SaveCustomParameters(QXmlStreamWriter*) const
{
}
+1 -1
View File
@@ -157,7 +157,7 @@ bool Item::ChildExistsWithName(const QString &name)
return ChildExistsWithNameInternal(name, this);
}
void Item::NameChangedEvent(const QString &name)
void Item::NameChangedEvent(const QString &)
{
}
+1 -1
View File
@@ -42,7 +42,7 @@ Sequence::Sequence()
AddNode(viewer_output_);
}
void Sequence::Load(QXmlStreamReader *reader, QHash<quintptr, StreamPtr> &footage_ptrs, QList<NodeInput::FootageConnection>& footage_connections)
void Sequence::Load(QXmlStreamReader *reader, QHash<quintptr, StreamPtr> &, QList<NodeInput::FootageConnection>& footage_connections)
{
XMLAttributeLoop(reader, attr) {
if (attr.name() == "name") {