forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user