refactor: Use composition for update time

The timer is not required by all classes and the deep inheritance makes
it hard to see where it is actually used. Use composition instead.
This commit is contained in:
Lars Toenning
2025-06-09 20:31:37 +02:00
parent 56d00d7d77
commit 5004db1885
19 changed files with 167 additions and 93 deletions

View File

@@ -90,7 +90,8 @@ namespace swift::core::context
Qt::QueuedConnection);
m_validator->start(QThread::LowestPriority);
m_validator->startUpdating(60);
using namespace std::chrono_literals;
m_validator->startUpdating(60s);
}
// For validation we need simulator directory and model directory