make UI look snappier than it is on (by making loading less noticable)

This commit is contained in:
Agel committed 2026-04-08 16:00:04 +02:00
1 parent a54312a397
commit 503324e7e3
3 files changed
+38 -2

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ QVector<int> ChunkMeasurer::measure(const QStringList &chunks, qreal textWidth)
QVector<int> heights(n, 0);
QAtomicInt nextIdx(0);
const int threadCount = QThread::idealThreadCount();
const int threadCount = 2;
// Capture by value what each worker needs (no shared mutable state)
auto worker = [&]() {