Change order of cms50 requests

This commit is contained in:
Mark Watkins 2014-08-24 12:42:14 +10:00
parent b25bc1cc9d
commit 333349e2f7

View File

@ -222,13 +222,14 @@ void OximeterImport::on_directImportButton_clicked()
if (!oximodule) if (!oximodule)
return; return;
QString model = oximodule->getModel();
QString user = oximodule->getUser();
if (p_profile->oxi->syncOximeterClock()) { if (p_profile->oxi->syncOximeterClock()) {
oximodule->syncClock(); oximodule->syncClock();
} }
QString model = oximodule->getModel();
QString user = oximodule->getUser();
oximodule->resetDevice(); oximodule->resetDevice();
int session_count = oximodule->getSessionCount(); int session_count = oximodule->getSessionCount();