From 91b3da5cc7e6e8331a5fb2a6876f74835c0f6bc2 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Fri, 22 Aug 2014 00:38:11 +1000 Subject: [PATCH] put progress bars back :) --- sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp b/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp index 9820b4a3..a976d378 100644 --- a/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp +++ b/sleepyhead/SleepLib/loader_plugins/cms50f37_loader.cpp @@ -500,11 +500,12 @@ void CMS50F37Loader::processBytes(QByteArray bytes) idx += len; } while (idx < size); - // emit updateProgress(oxirec->size(), duration); if (!started_import) { imp_callbacks = 0; } else { + emit updateProgress(oxirec->size(), duration); + imp_callbacks++; }