diff options
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r-- | qmake/project.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 55c8314fa0..2f8411d52f 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -119,7 +119,8 @@ QStringList QMakeProject::expand(const ProKey &func, const QList<ProStringList> ProString QMakeProject::expand(const QString &expr, const QString &where, int line) { ProString ret; - ProFile *pro = m_parser->parsedProBlock(expr, where, line, QMakeParser::ValueGrammar); + ProFile *pro = m_parser->parsedProBlock(QStringRef(&expr), where, line, + QMakeParser::ValueGrammar); if (pro->isOk()) { m_current.pro = pro; m_current.line = 0; |