index/confirm tasks: these tasks no longer need to open the decoder to perform said tasks

This commit is contained in:
itsmattkc
2020-04-11 17:36:16 +10:00
parent ce7fa12520
commit f08734d18e
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -42,9 +42,7 @@ void ConformTask::Action()
connect(decoder.get(), &Decoder::IndexProgress, this, &ConformTask::ProgressChanged);
decoder->Open();
decoder->Conform(params_, &IsCancelled());
decoder->Close();
emit Succeeded();
}
-2
View File
@@ -42,9 +42,7 @@ void IndexTask::Action()
connect(decoder.get(), &Decoder::IndexProgress, this, &IndexTask::ProgressChanged);
decoder->Open();
decoder->Index(&IsCancelled());
decoder->Close();
emit Succeeded();
}