forked from qt-creator/qt-creator
make ProFileParser API less bug-prone
QString::isNull() vs. isEmpty() discrimination is a time bomb ...
This commit is contained in:
@@ -1050,7 +1050,7 @@ void Qt4PriFileNode::changeFiles(const FileType fileType,
|
||||
|
||||
ProMessageHandler handler;
|
||||
ProFileParser parser(0, &handler);
|
||||
includeFile = parser.parsedProFile(m_projectFilePath, false, contents);
|
||||
includeFile = parser.parsedProBlock(m_projectFilePath, contents);
|
||||
}
|
||||
|
||||
const QStringList vars = varNames(fileType);
|
||||
|
||||
Reference in New Issue
Block a user