Index: sources/view/VTreatmentCreate.cpp =================================================================== diff -u -r9e234daa89b49df33be6faeaa597e6592526b539 -r28f3f8dd18981262995386d29d3c2ab31418bfc4 --- sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision 9e234daa89b49df33be6faeaa597e6592526b539) +++ sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision 28f3f8dd18981262995386d29d3c2ab31418bfc4) @@ -62,7 +62,7 @@ if (!FileHandler::readJSON(path, obj)) { // TODO: notify user - LOG_EVENT(tr("Could not load treatment parameter ranges from %0").arg(path)); + LOG_EVENT(tr("Could not load treatment parameter ranges from %1").arg(path)); return QJsonObject(); } @@ -83,7 +83,7 @@ else if (key == GET_VARIABLE_NAME(heparinStopTimeMin)) _heparinStopTimeMin = value.toInt(); else if (key == GET_VARIABLE_NAME(heparinStopTimeMax)) _heparinStopTimeMax = value.toInt(); else if (key == GET_VARIABLE_NAME(salineBolusVolumeMin)) _salineBolusVolumeMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(salineBolusVolumeMax)) _salineBolusVolumeMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(salineBolusVolumeMax)) _salineBolusVolumeMax = value.toInt(); // options else if (key == GET_VARIABLE_NAME(acidConcentrateOptions)) _acidConcentrateOptions = jsonArrayToStringList(value.toArray()); else if (key == GET_VARIABLE_NAME(bicarbonateConcentrateOptions)) _bicarbonateConcentrateOptions = jsonArrayToStringList(value.toArray()); @@ -886,12 +886,12 @@ /** * @brief VCreateTreatment::doCancelConfirmParameters - * Notifies FW the user has cancelled confirming the treatment parameters + * Notifies FW the user has canceled confirming the treatment parameters */ void VTreatmentCreate::doCancelConfirmParameters() { // Tell FW we cancel confirm - qDebug() << "Telling FW user is cancelling confirm treatment parameters..."; + qDebug() << "Telling FW user is canceling confirm treatment parameters..."; confirmTreatmentRequest.request = ConfirmTreatmentRequestData::eCancel; emit requestConfirm(confirmTreatmentRequest); goToNextPage(false);