Index: sources/gui/qml/AlarmItem.qml =================================================================== diff -u -r5d211a3d77e20d369319231f5534211caf58fec2 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/AlarmItem.qml (.../AlarmItem.qml) (revision 5d211a3d77e20d369319231f5534211caf58fec2) +++ sources/gui/qml/AlarmItem.qml (.../AlarmItem.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2021-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file AlarmItem.qml * \author (last) Behrouz NematiPour - * \date (last) 30-Aug-2023 + * \date (last) 24-Jan-2024 * \author (original) Behrouz NematiPour * \date (original) 01-Mar-2021 * @@ -46,6 +46,7 @@ readonly property alias isSilenced : vAlarmStatus.alarm_Flag_alarmsSilenced readonly property alias timeout : vAlarmStatus.alarm_MuteTimeout readonly property alias alarm_AlarmID : vAlarmStatus.alarm_AlarmID + readonly property alias hasAlarm : vAlarmStatus.hasAlarm function clearAlarm() { vAlarmStatus.doClearCondition() @@ -161,11 +162,6 @@ Connections { target: vAlarmStatus function onAlarm_PriorityChanged ( vValue ) { - // When alarm status 0 is sent from HD to clear/hide the AlarmDialog, it comes with priority 0 - // priority 0 has no clear definition; therefore, UI will set the coloring to the default system theme: blue. - // The blue color is confusing users, so we skip this coloring. - if ( ! vValue ) return - [ _alarmDialog.titleBarBackground, _alarmDialog.titleBarForeground,