NavCache init: make progress updates smoother
This commit is contained in:
parent
3dc3d4399a
commit
0c0947458f
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue