mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-04 08:39:05 +00:00
Fix wrapper initialization
This commit is contained in:
@@ -39,7 +39,7 @@ void MultiJob::run() {
|
||||
emit ProgressUpdated(current_imported_size, total_imported_size, eta);
|
||||
};
|
||||
|
||||
Common::ProgressCallbackWrapper wrapper(total_size);
|
||||
Common::ProgressCallbackWrapper wrapper{total_size};
|
||||
for (const auto& content : contents) {
|
||||
emit NextContent(count + 1, content, eta);
|
||||
if (!execute_func(importer, content, wrapper.Wrap(Callback))) {
|
||||
|
||||
Reference in New Issue
Block a user