From 5122524df7efe0edab22454ebfaaa28377f82ba9 Mon Sep 17 00:00:00 2001 From: sawinglogz <3787776-sawinglogz@users.noreply.gitlab.com> Date: Mon, 27 Jan 2020 12:37:10 -0500 Subject: [PATCH] Leave a breadcrumb for future work on Purge Oximetry, which only half works. --- oscar/mainwindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/oscar/mainwindow.cpp b/oscar/mainwindow.cpp index 0468c71c..2afb07c6 100644 --- a/oscar/mainwindow.cpp +++ b/oscar/mainwindow.cpp @@ -2528,6 +2528,11 @@ void MainWindow::on_actionPurgeCurrentDaysOximetry_triggered() sess->Destroy(); delete sess; } + // TODO: Fix this. It deletes the underlying session data file in the machine, + // but not from the machine's summary cache. This results in future launches + // of OSCAR thinking the day has oximetry data, but then it isn't really there. + // Currently this is only useful for reimporting a single day, which the purge + // permits, and which in turn creates a new data file for that day. if (daily) {