mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-20 14:33:19 +01:00
Set the organise progress to 100% when all files have been copied, but before the device is finalised
This commit is contained in:
parent
b624be9800
commit
1d5cef0f0d
@ -64,6 +64,7 @@ void Organise::ProcessSomeFiles() {
|
|||||||
|
|
||||||
// None left?
|
// None left?
|
||||||
if (progress_ >= files_.count()) {
|
if (progress_ >= files_.count()) {
|
||||||
|
task_manager_->SetTaskProgress(task_id_, progress_, files_.count());
|
||||||
destination_->FinishCopy();
|
destination_->FinishCopy();
|
||||||
|
|
||||||
task_manager_->SetTaskFinished(task_id_);
|
task_manager_->SetTaskFinished(task_id_);
|
||||||
|
Loading…
Reference in New Issue
Block a user