Index: sources/storage/DriveWatcher.cpp =================================================================== diff -u -red85c796c2e3bd73aeda374d9a109750bd7732e3 -rc421ddadef2ade71d3abe269493a84b12b85296b --- sources/storage/DriveWatcher.cpp (.../DriveWatcher.cpp) (revision ed85c796c2e3bd73aeda374d9a109750bd7732e3) +++ sources/storage/DriveWatcher.cpp (.../DriveWatcher.cpp) (revision c421ddadef2ade71d3abe269493a84b12b85296b) @@ -164,6 +164,7 @@ */ bool DriveWatcher::driveSpaceCheck(const QString &vPath, qint64 &vTotalBytes, qint64 &vAvailableBytes) { + // coco begin validated: Needed User Interaction to make the device not ready so tested manually QStorageInfo storage(vPath); bool isReady = storage.isReady(); if (isReady) { @@ -172,6 +173,7 @@ } return isReady; } +// coco end /*! * \brief DriveWatcher::timerEvent @@ -225,7 +227,8 @@ static qint64 mOAvailable; qint64 mCAvailable; mCIsReady = driveSpaceCheck(Storage::SDCard_Base_Path_Name, mCTotal, mCAvailable); - mPercent = (100 * mCAvailable) / mCTotal; + mPercent = (100 * mCAvailable) / mCTotal; + if (mOIsReady == mCIsReady && mOTotal == mCTotal && mOAvailable == mCAvailable &&