Index: sources/storage/usbwatcher.cpp =================================================================== diff -u -r057d3ef4e29c63235040c5cfe8c6421ef7787d6a -reea63d68fc0fb269f8dec64d99f488bcad117220 --- sources/storage/usbwatcher.cpp (.../usbwatcher.cpp) (revision 057d3ef4e29c63235040c5cfe8c6421ef7787d6a) +++ sources/storage/usbwatcher.cpp (.../usbwatcher.cpp) (revision eea63d68fc0fb269f8dec64d99f488bcad117220) @@ -78,7 +78,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 @@ -107,7 +107,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); } @@ -124,7 +124,7 @@ if ( ! _thread ) return; // runs in thread - moveToThread(qApp->thread()); + moveToThread(qApp->thread()); // validated } // coco end @@ -222,8 +222,11 @@ */ void USBWatcher::onUSBDriveUmount() { + // coco begin validated: This needs user interaction to plug-in/out the USB device + // has been tested manually _umounted = true; } +// coco end /*! * \brief USBWatcher::usbMount