Index: sources/gui/guicontroller.cpp =================================================================== diff -u -r8f6f7c11390e3ed6d918f1717d8e8b7ae5b7e5c6 -reea63d68fc0fb269f8dec64d99f488bcad117220 --- sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision 8f6f7c11390e3ed6d918f1717d8e8b7ae5b7e5c6) +++ sources/gui/guicontroller.cpp (.../guicontroller.cpp) (revision eea63d68fc0fb269f8dec64d99f488bcad117220) @@ -56,7 +56,7 @@ { // coco begin validated: Application termination is not correctly done in coco!!! // it has been tested and works perfectly fine in normal run. - quitThread(); + quitThread(); // validated } // coco end @@ -100,7 +100,7 @@ _thread = &vThread; _thread->setObjectName(QString("%1_Thread").arg(metaObject()->className())); connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(quit())); - _thread->start(); + if (!_thread->isRunning()) _thread->start(); // In case more than one object using the same thread moveToThread(_thread); } // coco end @@ -117,7 +117,7 @@ if ( ! _thread ) return; // runs in thread - moveToThread(qApp->thread()); + moveToThread(qApp->thread()); // validated } // coco end @@ -148,7 +148,10 @@ */ void GuiController::doActionTransmit(GuiActionType vAction, const QVariantList &vData) { + // coco begin validated: This is a sample code and currently does nothing + // The handleTransmit is a place holder and currently has not been used. if (! handleTransmit(vAction, vData)) { + // coco end emit didActionTransmit(vAction, vData); } }