fix: actually emit fileCopied

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-11-21 15:47:15 +01:00
parent 5cc91965d0
commit 4208c2c72a
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -188,6 +188,8 @@ bool copy::operator()(const QString& offset, bool dryRun)
qDebug() << "Source file:" << src_path;
qDebug() << "Destination file:" << dst_path;
}
m_copied++;
emit fileCopied(relative_dst_path);
};
// We can't use copy_opts::recursive because we need to take into account the