fix qt project manager not finding existing variable assignments

... by fixing parameters of QMakeParser::parsedBlock() call. this was an
omission from 00e9be4246.

Task-number: QTCREATORBUG-8320
Change-Id: Iec36e2986efc7d04d292000185db05aa24f4ee1b
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Oswald Buddenhagen
2013-02-08 14:31:44 +01:00
parent 90ffdd8a6f
commit 6c03121668

View File

@@ -1163,7 +1163,7 @@ void Qt4PriFileNode::changeFiles(const FileType fileType,
QtSupport::ProMessageHandler handler;
QMakeParser parser(0, &handler);
includeFile = parser.parsedProBlock(m_projectFilePath, contents);
includeFile = parser.parsedProBlock(contents, m_projectFilePath, 1);
}
const QStringList vars = varNames(fileType);