1
0
Fork 0

NavCache init: make progress updates smoother

This commit is contained in:
James Turner 2020-05-13 15:51:42 +01:00
parent 3dc3d4399a
commit 0c0947458f

View file

@ -110,7 +110,7 @@ void initNavCache()
rebuildProgress.show();
QTimer updateTimer;
updateTimer.setInterval(500);
updateTimer.setInterval(100);
QObject::connect(&updateTimer, &QTimer::timeout, [&cache, &rebuildProgress, &baseLabel]() {
auto phase = cache->rebuild();
if (phase == NavDataCache::REBUILD_DONE) {