Replace use of C-style casts

This commit is contained in:
Jonas Kvinge
2022-06-13 00:23:42 +02:00
parent abdcadb5fa
commit d82fd421ed
39 changed files with 95 additions and 93 deletions

View File

@@ -185,7 +185,7 @@ GstElement *Transcoder::CreateElementForMimeType(const QString &element_type, co
}
Transcoder::JobFinishedEvent::JobFinishedEvent(JobState *state, bool success)
: QEvent(QEvent::Type(sEventType)), state_(state), success_(success) {}
: QEvent(static_cast<QEvent::Type>(sEventType)), state_(state), success_(success) {}
void Transcoder::JobState::PostFinished(const bool success) {