decoder: signal indexing progress

Better UI interactions, actually shows the progress of the index function in
the task manager now.
This commit is contained in:
itsmattkc
2020-02-19 12:19:42 +11:00
parent 03bdf01357
commit 53551246da
4 changed files with 21 additions and 0 deletions
+2
View File
@@ -17,6 +17,8 @@ void IndexTask::Action()
decoder->set_stream(stream_);
connect(decoder.get(), &Decoder::IndexProgress, this, &IndexTask::ProgressChanged);
decoder->Open();
decoder->Index(&IsCancelled());
decoder->Close();