Index: sources/applicationcontroller.cpp =================================================================== diff -u -rc6a09899d2e46dc0bda5a6b994aa257953626f97 -r805119c460b4a266d6401c8705f4427e7fbe270f --- sources/applicationcontroller.cpp (.../applicationcontroller.cpp) (revision c6a09899d2e46dc0bda5a6b994aa257953626f97) +++ sources/applicationcontroller.cpp (.../applicationcontroller.cpp) (revision 805119c460b4a266d6401c8705f4427e7fbe270f) @@ -25,8 +25,10 @@ #include "filehandler.h" /*! - * \brief ApplicationController Constructor - * \param parent + * \brief ApplicationController::ApplicationController + * \details Constructor + * \param parent - QObject parent owner object. + * Qt handles the children destruction by their parent objects life-cycle. */ ApplicationController::ApplicationController(QObject *parent) : QObject(parent) { @@ -71,8 +73,11 @@ */ void ApplicationController::quit() { + // coco begin validated: Application termination is not correctly done in coco!!! + // it has been tested and works perfectly fine in normal run. quitThread(); } +// coco end /*! * \brief ApplicationController::initConnections @@ -131,16 +136,21 @@ */ void ApplicationController::quitThread() { + // coco begin validated: Application termination is not correctly done in coco!!! + // it has been tested and works perfectly fine in normal run. + if ( ! _thread ) return; // runs in thread moveToThread(qApp->thread()); } +// coco end /*! * \brief Process the requested action * \details Processes the requested action * \param vAction - User requested Action + * \param vData - Action data to be transmitted. */ void ApplicationController::onActionTransmit(GuiActionType vAction, const QVariantList &vData) {