Index: sources/gui/qml/main.qml =================================================================== diff -u -r7a4f59af7287d30e8790e6b580327684d4e02e55 -r2c35a3fa17eef76c7a47578974b928c03f67c83d --- sources/gui/qml/main.qml (.../main.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) +++ sources/gui/qml/main.qml (.../main.qml) (revision 2c35a3fa17eef76c7a47578974b928c03f67c83d) @@ -176,8 +176,6 @@ _alarm_bar.visible = false; _alarm_dialog.visible = true; } - - } function isAlarmHighPriority() { @@ -249,10 +247,8 @@ default : // GuiActions.ALARM_PRIORITY_NONE root_color = Colors.textNotificationNoneBg; text_color = Colors.textNotificationNoneFg; - } return [root_color, text_color]; - } function getAlarmTopBarColors(level) { @@ -274,7 +270,6 @@ default : // GuiActions.ALARM_PRIORITY_NONE background = Colors.alarmTopBarLowBg; foreground = Colors.alarmTopBarLowFg; - } return [background, foreground]; } Index: sources/gui/qml/pages/treatment/TreatmentCreate.qml =================================================================== diff -u -r7a4f59af7287d30e8790e6b580327684d4e02e55 -r2c35a3fa17eef76c7a47578974b928c03f67c83d --- sources/gui/qml/pages/treatment/TreatmentCreate.qml (.../TreatmentCreate.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) +++ sources/gui/qml/pages/treatment/TreatmentCreate.qml (.../TreatmentCreate.qml) (revision 2c35a3fa17eef76c7a47578974b928c03f67c83d) @@ -454,19 +454,16 @@ onHeparinStopTime_ValidationFailed: { console.debug("Heparin stop time validation failed: " + reason) _heparinStopTime.setValid(false) - } onSalineBolusVolume_ValidationFailed: { console.debug("Saline bolus volume validation failed: " + reason) _salineBolus.setValid(false) - } onAcidConcentrate_ValidationFailed: { console.debug("Acid concentrate validation failed: " + reason) _acidConcentrate.setValid(false) - } onBicarbonateConcentrate_ValidationFailed: { @@ -513,10 +510,5 @@ console.debug("Rinseback flow rate validation failed: " + reason) _rinsebackFlowRate.setValid(false) } - - } - - - } Index: sources/view/VCreateTreatment.h =================================================================== diff -u -r3b4fd62b510f6b09d663e35b0cadc93050e6a6f0 -r2c35a3fa17eef76c7a47578974b928c03f67c83d --- sources/view/VCreateTreatment.h (.../VCreateTreatment.h) (revision 3b4fd62b510f6b09d663e35b0cadc93050e6a6f0) +++ sources/view/VCreateTreatment.h (.../VCreateTreatment.h) (revision 2c35a3fa17eef76c7a47578974b928c03f67c83d) @@ -113,7 +113,6 @@ QHash uiRejections { { OUT_OF_RANGE, "The selected value is out of range." }, { LOW_HIGH_INCOMPATIBLE, "The low and high selections are incompatible." }, - }; QString enumToString(GuiRequestReasons vEnum);