Commit 2b68df12 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

ProFileParser instead of a fully-fledged ProFileReader

parent 7d962189
......@@ -802,9 +802,9 @@ void Qt4PriFileNode::changeFiles(const FileType fileType,
}
}
ProFileReader *reader = m_project->createProFileReader(m_qt4ProFileNode);
includeFile = reader->parsedProFile(m_projectFilePath, false, contents);
m_project->destroyProFileReader(reader);
ProMessageHandler handler;
ProFileParser parser(0, &handler);
includeFile = parser.parsedProFile(m_projectFilePath, false, contents);
}
const QStringList vars = varNames(fileType);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment