From 6fed69e71cc6ecda9afdbfecd29c2992811a3d09 Mon Sep 17 00:00:00 2001 From: Phil Olynyk Date: Sun, 16 Feb 2020 21:12:54 -0500 Subject: [PATCH] Update database version in loader, not profiles --- oscar/SleepLib/loader_plugins/resmed_loader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/oscar/SleepLib/loader_plugins/resmed_loader.cpp b/oscar/SleepLib/loader_plugins/resmed_loader.cpp index 4c815ba4..09974798 100644 --- a/oscar/SleepLib/loader_plugins/resmed_loader.cpp +++ b/oscar/SleepLib/loader_plugins/resmed_loader.cpp @@ -368,6 +368,7 @@ int ResmedLoader::Open(const QString & dirpath) Machine *mach = p_profile->lookupMachine(info.serial, info.loadername); if ( mach ) { // we have seen this machine qDebug() << "We have seen this machime"; + mach->setInfo( info ); // update info // QDate lastDate = p_profile->LastDay(MT_CPAP); // firstImportDay = lastDate.addDays(-1); } else { // Starting from new beginnings - new or purged