From 892122b45e62f947be919d4d72f7cbbc8c1e7f66 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Mon, 18 Apr 2016 15:49:25 +0200 Subject: [PATCH] Qt4 compatibility - should test Qt 4.8.6 support more often --- common/ffsparser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/ffsparser.cpp b/common/ffsparser.cpp index 3193610..367818a 100644 --- a/common/ffsparser.cpp +++ b/common/ffsparser.cpp @@ -4026,8 +4026,8 @@ STATUS FfsParser::parseSlicMarkerHeader(const QByteArray & store, const UINT32 p .hexarg(markerHeader->Size).arg(markerHeader->Size) .hexarg(header.size()).arg(header.size()) .hexarg2(markerHeader->Version, 8) - .arg(QLatin1String((const char*)&(markerHeader->OemId), sizeof(markerHeader->OemId))) - .arg(QLatin1String((const char*)&(markerHeader->OemTableId), sizeof(markerHeader->OemTableId))) + .arg(QString::fromLatin1((const char*)&(markerHeader->OemId), sizeof(markerHeader->OemId))) + .arg(QString::fromLatin1((const char*)&(markerHeader->OemTableId), sizeof(markerHeader->OemTableId))) .hexarg2(markerHeader->SlicVersion, 8); // Add correct offset