aboutsummaryrefslogtreecommitdiff
path: root/launcher/tasks/ConcurrentTask.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-03-31 12:29:59 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-01 10:47:31 -0700
commitf1028fa66d556b024765ba4e21ac76d4510a3e3e (patch)
tree1a94095040254ceb02839d3b6e4674efcb7f909e /launcher/tasks/ConcurrentTask.cpp
parent9d2f0e4dc8fc3995052770c6a7948cb0372fdcbb (diff)
downloadPrismLauncher-f1028fa66d556b024765ba4e21ac76d4510a3e3e.tar.gz
PrismLauncher-f1028fa66d556b024765ba4e21ac76d4510a3e3e.tar.bz2
PrismLauncher-f1028fa66d556b024765ba4e21ac76d4510a3e3e.zip
fix: properly map progress range
- doument PCRE used for URL compacting Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/tasks/ConcurrentTask.cpp')
-rw-r--r--launcher/tasks/ConcurrentTask.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/launcher/tasks/ConcurrentTask.cpp b/launcher/tasks/ConcurrentTask.cpp
index fde7d0ad..41c405db 100644
--- a/launcher/tasks/ConcurrentTask.cpp
+++ b/launcher/tasks/ConcurrentTask.cpp
@@ -28,12 +28,7 @@ void ConcurrentTask::addTask(Task::Ptr task)
void ConcurrentTask::executeTask()
{
- // Start the least amount of tasks needed, but at least one
- // int num_starts = qMax(1, qMin(m_total_max_size, m_queue.size()));
- // for (int i = 0; i < num_starts; i++) {
- // QMetaObject::invokeMethod(this, &ConcurrentTask::startNext, Qt::QueuedConnection);
- // }
- // Start One task, startNext hadles starting the up to the m_total_max_size
+ // Start One task, startNext hadels starting the up to the m_total_max_size
// while tracking the number currently being done
QMetaObject::invokeMethod(this, &ConcurrentTask::startNext, Qt::QueuedConnection);
}