Index: sources/ApplicationController.cpp =================================================================== diff -u -r9ef6badf8e172436bba2bfad1642ae7e469e0361 -r8d5fe7d63e3d86e9d89d5f824347d34479e4e9ec --- sources/ApplicationController.cpp (.../ApplicationController.cpp) (revision 9ef6badf8e172436bba2bfad1642ae7e469e0361) +++ sources/ApplicationController.cpp (.../ApplicationController.cpp) (revision 8d5fe7d63e3d86e9d89d5f824347d34479e4e9ec) @@ -7,7 +7,7 @@ * * \file ApplicationController.cpp * \author (last) Behrouz NematiPour - * \date (last) 19-Dec-2022 + * \date (last) 19-Jul-2023 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * @@ -601,8 +601,8 @@ */ void ApplicationController::onPOSTCloudSync(bool vPass) { - emit didPOSTCloudSync(vPass); - emit didPOSTBluetooth("000.000.000.000" /*_post.netCloudSync*/); // not needed and post is not getting it yet. + emit didPOSTCloudSync (vPass); + emit didPOSTCloudSyncData("000.000.000.000" /*_post.netCloudSync*/); // not needed and post is not getting it yet.[ApplicationController => DeviceController] } /*! @@ -621,9 +621,13 @@ void ApplicationController::onPOSTDone(bool /*vPass*/) { LOG_DEBUG("ApplicationPOST Done"); - /// in manufacturing mode the configurations must reside in /root/home + /// in manufacturing or update mode the configurations must reside in /root/home /// therefore the settings can be initialized after POST. - if ( gEnableManufacturing ) initSettings(); +#ifdef BUILD_FOR_DESKTOP + initSettings(); +#else + if ( gEnableManufacturing || gEnableUpdating ) initSettings(); +#endif } void ApplicationController::onQuitApplication() @@ -660,8 +664,13 @@ _post.start(); } +/*! + * \brief ApplicationController::onCryptSetupMount + * \details It is the slot to handle _DeviceController::didCryptSetupMount signal. + * Tels the settings start initate. + */ void ApplicationController::onCryptSetupMount(bool /*vPass*/) { - // if ( vPass ) // in needs more investigation + // if ( vPass ) // it needs more investigation initSettings(); }