1
0
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:
David Sansome 2010-07-24 17:40:19 +00:00
parent b624be9800
commit 1d5cef0f0d

View File

@ -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_);