Index: sources/device/DeviceController.h =================================================================== diff -u -r15dffa44e42fe108caa6dd0dfbe659b192ee5323 -r1ed15b374613c81883e697cad25e55399e7abc17 --- sources/device/DeviceController.h (.../DeviceController.h) (revision 15dffa44e42fe108caa6dd0dfbe659b192ee5323) +++ sources/device/DeviceController.h (.../DeviceController.h) (revision 1ed15b374613c81883e697cad25e55399e7abc17) @@ -121,6 +121,9 @@ // to be able to kill the process automatically after the set time out. DEVICE_DEV_DEFINITION_LIST +public: + static bool driveSpaceCheck(const QString &vPath, qint64 &vTotalBytes, qint64 &vAvailableBytes, bool *vIsReadOnly = nullptr); + public slots: bool init(); bool init(QThread &vThread); @@ -161,8 +164,6 @@ bool usbSeek(QString &vDevice); - bool driveSpaceCheck(const QString &vPath, qint64 &vTotalBytes, qint64 &vAvailableBytes, bool *vIsReadOnly = nullptr); - template bool checkError(DeviceError::Scripts_Error_Enum vError, TModel &vModel,QString vExtraLogInfo = ""); DeviceError::Scripts_Error_Enum checkScript(QString &vScript, const QString &vShellScript);