Merge pull request #1016 from Initdd/fix/asc_files
refactor: Remove logged and version from asc file detection
This commit is contained in:
@@ -1661,16 +1661,6 @@ bool FrameFileIO::isCanalyzerASC(QString filename)
|
||||
line = inFile->readLine();
|
||||
if (!line.startsWith("base")) isMatch = false;
|
||||
}
|
||||
if (!inFile->atEnd() && isMatch)
|
||||
{
|
||||
line = inFile->readLine();
|
||||
if (!line.contains("logged")) isMatch = false;
|
||||
}
|
||||
if (!inFile->atEnd() && isMatch)
|
||||
{
|
||||
line = inFile->readLine();
|
||||
if (!line.contains("version")) isMatch = false;
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user