From 3518be5558c6fb75fd6e2b0651327151c37c3ac0 Mon Sep 17 00:00:00 2001 From: beholder Date: Mon, 26 Mar 2018 14:13:20 +0300 Subject: [PATCH] fix regression with not loading .xml.gz --- Source/Core/FileInformation.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/FileInformation.cpp b/Source/Core/FileInformation.cpp index d1aff7f07..ce6a6a47c 100644 --- a/Source/Core/FileInformation.cpp +++ b/Source/Core/FileInformation.cpp @@ -304,8 +304,7 @@ FileInformation::FileInformation (SignalServer* signalServer, const QString &Fil if (FileName.endsWith(dotQctoolsDotXmlDotGz)) { StatsFromExternalData_FileName=FileName; - - StatsFromExternalData_FileName.resize(FileName.length() - dotQctoolsDotXmlDotGz.length()); + FileName.resize(FileName.length() - dotQctoolsDotXmlDotGz.length()); StatsFromExternalData_FileName_IsCompressed=true; } else if (FileName.endsWith(dotQctoolsDotXml))