mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Fix crash in CPAP rebuild byt ignoring Day entry with first = 0.
This commit is contained in:
parent
85efcace3e
commit
6a7661f516
@ -182,6 +182,11 @@ void Statistics::updateRXChanges()
|
||||
if (mach == nullptr)
|
||||
continue;
|
||||
|
||||
if (day->first() == 0) { // Ignore invalid dates
|
||||
qDebug() << "Statistics::updateRXChanges ignoring day with first=0";
|
||||
continue;
|
||||
}
|
||||
|
||||
bool fnd = false;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user