Index: sources/storage/DriveWatcher.h =================================================================== diff -u -r618891879f5cdc68e37ee68eea005afb76dd4e5b -r4df19fe88c454bd54abcdaf983be59464c5ef5bc --- sources/storage/DriveWatcher.h (.../DriveWatcher.h) (revision 618891879f5cdc68e37ee68eea005afb76dd4e5b) +++ sources/storage/DriveWatcher.h (.../DriveWatcher.h) (revision 4df19fe88c454bd54abcdaf983be59464c5ef5bc) @@ -73,7 +73,7 @@ bool usbSeek(QString &vDevice); - bool driveSpaceCheck(const QString &vPath, qint64 &vTotalBytes, qint64 &vAvailableBytes); + bool driveSpaceCheck(const QString &vPath, qint64 &vTotalBytes, qint64 &vAvailableBytes, bool *vIsReadOnly = nullptr); signals: /*! @@ -110,10 +110,10 @@ void didSDCardSpaceChange(bool vReady, qint64 vTotal, qint64 vAvailable, quint8 vPercent); /*! - * \brief didSDCardSpaceRemove - * \details If sdcard removed or is not present this signal will emit. + * \brief didSDCardStateChange + * \details If sdcard state changes like removed or is not present this signal will emit. */ - void didSDCardSpaceRemove(); + void didSDCardStateChange(bool vIsReady, bool vIsReadOnly); private slots: // ----- usb