Index: sources/device/DeviceController.cpp =================================================================== diff -u -ra5760947d3ed0d2748ba023a1c25e3c6aa0b1de1 -ra58f91b077c8131bea3dbde0fc338adb113fc9f3 --- sources/device/DeviceController.cpp (.../DeviceController.cpp) (revision a5760947d3ed0d2748ba023a1c25e3c6aa0b1de1) +++ sources/device/DeviceController.cpp (.../DeviceController.cpp) (revision a58f91b077c8131bea3dbde0fc338adb113fc9f3) @@ -158,15 +158,11 @@ */ void DeviceController::quitThread() { - // disabled 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()); // validated } -// disabled coco end /*! * \brief DeviceController::usbSeek @@ -178,7 +174,6 @@ */ bool DeviceController::usbSeek(QString &vDevice) { - // disabled coco begin validated: Needed User Interaction so tested manually // This function cannot be tested on any device other than target // because only on device the usb is /dev/sdX# and others are mmcblk___ // but on VM and normal Linuxes all drives are /dev/sdX# and cannot be identified as USB. @@ -197,7 +192,6 @@ } vDevice = device; return false; - // disabled coco end } /*! @@ -438,8 +432,6 @@ */ void DeviceController::usbError(const QString &vDevice) { - // disabled coco begin validated: This needs user interaction to plug-in/out the USB device - // has been tested manually QString error; static QString lastError; switch (errno) { @@ -458,7 +450,6 @@ lastError = error; } } -// disabled coco end /*! * \brief DeviceController::onUSBDriveUmount @@ -467,11 +458,8 @@ */ void DeviceController::onUSBDriveUmount() { - // disabled coco begin validated: This needs user interaction to plug-in/out the USB device - // has been tested manually _umounted = true; } -// disabled coco end /*! * \brief DeviceController::usbMount @@ -505,15 +493,12 @@ */ void DeviceController::usbRemove() { - // disabled coco begin validated: This needs user interaction to plug-out the USB device - // has been tested manually usbUmount(USB_Mount_Point); _umounted = false; _removed = true; LOG_DEBUG("USB drive removed"); emit didUSBDriveRemove(); } -// disabled coco end /*! * \brief DeviceController::checkError