Skip to content

Commit

Permalink
Merge pull request #534 from ElderOrb/fix_regression
Browse files Browse the repository at this point in the history
fix regression with not loading .xml.gz
  • Loading branch information
dericed authored Mar 26, 2018
2 parents 2d40358 + 3518be5 commit 51e6e17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Core/FileInformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,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))
Expand Down

0 comments on commit 51e6e17

Please sign in to comment.