Index: sources/view/settings/VAdjustmentAlarmVolume.cpp =================================================================== diff -u -r1da89b0452b8ef9448847618e75c118f3f58bd0c -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/view/settings/VAdjustmentAlarmVolume.cpp (.../VAdjustmentAlarmVolume.cpp) (revision 1da89b0452b8ef9448847618e75c118f3f58bd0c) +++ sources/view/settings/VAdjustmentAlarmVolume.cpp (.../VAdjustmentAlarmVolume.cpp) (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 VAdjustmentAlarmVolume.cpp * \author (last) Behrouz NematiPour - * \date (last) 25-Jul-2022 + * \date (last) 06-Aug-2023 * \author (original) Behrouz NematiPour * \date (original) 07-Jun-2021 * @@ -27,6 +27,11 @@ ADJUST_VIEW_CONNECTION(AdjustHDAlarmVolumeRequestData ); ACTION_VIEW_CONNECTION(AdjustHDAlarmVolumeResponseData ); ACTION_VIEW_CONNECTION(SettingsData) + + connect(&_GuiController, &GuiController::didPOSTPass, this, [=](bool) { + //POST// + doAdjustment(_hdAlarmVolume); + }); } void View::VAdjustmentAlarmVolume::onActionReceive(const AdjustHDAlarmVolumeResponseData &vData) @@ -64,14 +69,13 @@ } /*! - * \brief VDuetRoWaterDG::onSettingsDone - * \details fills the items below, read from the settings file, when the reading is notified done by ApplicationController. - * acidConcentrateOptions + * \brief VAdjustmentAlarmVolume::onActionReceive + * \details This will send a message to update its Alarm Volume with the read value from configurations, + * When the Settings is done reading the SettingsData. + * */ void View::VAdjustmentAlarmVolume::onActionReceive(const SettingsData &) { QString mCategory = Storage::Settings_Category_SettingsSystem; FROMVARIANT( hdAlarmVolume, "Alarm", "Volume", UInt ); - //POST// - doAdjustment(_hdAlarmVolume); }