char(0x00) at tide read

This commit is contained in:
Rafael 2016-03-29 13:29:14 +02:00
parent e03ebc31f4
commit 9bb40f47cb

View file

@ -197,7 +197,7 @@ QString SnapmaticPicture::getSnapmaticTIDEString(QByteArray tideBytes)
{
QByteArray tideUsefulBytes = tideBytes;
tideUsefulBytes.remove(0, 4);
QList<QByteArray> tideUsefulBytesList = tideUsefulBytes.split(0x00);
QList<QByteArray> tideUsefulBytesList = tideUsefulBytes.split(char(0x00));
return QString::fromLatin1(tideUsefulBytesList.at(0));
}