GH-1053 add back update progress dialog
This commit is contained in:
1 parent
6310f6569c
commit
d8caab515a
35 files changed
+151
-63
No files matched your search
@@ -48,12 +48,8 @@ void SequentialTask::subTaskProgress(qint64 current, qint64 total)
|
||||
{
|
||||
if(total == 0)
|
||||
{
|
||||
setProgress(0);
|
||||
setProgress(0, 100);
|
||||
return;
|
||||
}
|
||||
auto dcurrent = (double) current;
|
||||
auto dtotal = (double) total;
|
||||
auto partial = ((dcurrent / dtotal) * 100.0f)/* / double(m_queue.size())*/;
|
||||
// auto bigpartial = double(m_currentIndex) * 100.0f / double(m_queue.size());
|
||||
setProgress(partial);
|
||||
setProgress(current, total);
|
||||
}
|
||||
Reference in new issue
Block a user