refactor: Use chrono instead of plain ints

This commit is contained in:
Lars Toenning
2024-11-30 12:18:32 +01:00
parent b8ce7a96f3
commit 74415e756a
84 changed files with 450 additions and 350 deletions

View File

@@ -189,7 +189,7 @@ namespace swift::gui
//! Do re-matching
void doMatchingsAgain();
static constexpr int OverlayMessageMs = 5000;
static constexpr std::chrono::milliseconds OverlayMessageMs { 5000 };
QScopedPointer<Ui::CMappingComponent> ui;
QTimer m_updateTimer;
bool m_missedRenderedAircraftUpdate = true; //! Rendered aircraft need update