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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user