mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
[xplane] Add monitoring of the number of minutes behind due to low FPS
This commit is contained in:
@@ -157,6 +157,9 @@ namespace BlackGui
|
||||
|
||||
const double miles = sGui->getISimulator()->getTrackMilesShort();
|
||||
this->addOrUpdateLiveDataByName(QStringLiteral("Miles Short"), QString::number(miles, 'f', 1), CIconList::allIcons().findByIndex(CIcons::ApplicationSimulator));
|
||||
|
||||
const double minutes = sGui->getISimulator()->getMinutesLate();
|
||||
this->addOrUpdateLiveDataByName(QStringLiteral("Minutes Late"), QString::number(minutes, 'f', 1), CIconList::allIcons().findByIndex(CIcons::ApplicationSimulator));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user