Index: sources/device/DeviceModels.cpp =================================================================== diff -u -rdb13a6a2cb1e27bacf245ac251997b3f9c54c01b -r3e682c5afdadcf4dd2006e3d975fbee58e48619e --- sources/device/DeviceModels.cpp (.../DeviceModels.cpp) (revision db13a6a2cb1e27bacf245ac251997b3f9c54c01b) +++ sources/device/DeviceModels.cpp (.../DeviceModels.cpp) (revision 3e682c5afdadcf4dd2006e3d975fbee58e48619e) @@ -277,7 +277,8 @@ // get the value QString val = vByteArray; - ok = ! val.isNull() && val.isSimpleText(); + // TODO: Qt6 Port: ok = ! val.isNull() && val.isSimpleText(); + ok = ! val.isNull(); // TODO: Qt6 Port // check if the vExitCode passed and it has a value other than zero if ( ! ok ){ _data.mReason = Device::DeviceError::eDevice_Scripts_Error_Incorrect_Rsp_Type ; goto lError; } // there is not a valid value @@ -322,7 +323,8 @@ // get the value QString val = vByteArray; - ok = ! val.isNull() && val.isSimpleText(); + // TODO: Qt6 Port: ok = ! val.isNull() && val.isSimpleText(); + ok = ! val.isNull(); // TODO: Qt6 Port // check if the vExitCode passed and it has a value other than zero if ( ! ok ){ _data.mReason = Device::DeviceError::eDevice_Scripts_Error_Incorrect_Rsp_Type ; goto lError; } // there is not a valid value