Commit 34846ac4 authored by Kai Koehne's avatar Kai Koehne
Browse files

Qt4ProjectManager: Fix crash when loading $QTDIR/src/src.pro

Guard access to pointer, which happens to be 0. The regression
was most likely introduced by 057591e0.
parent 0277bab0
......@@ -1744,7 +1744,8 @@ void Qt4ProFileNode::applyEvaluate(bool parseResult, bool async)
// We use the cumulative parse so that we get the capabilities for symbian even if
// a different target is selected and the capabilities are set in a symbian scope
newVarValues[SymbianCapabilities] = m_readerCumulative->values("TARGET.CAPABILITY");
if (m_readerCumulative)
newVarValues[SymbianCapabilities] = m_readerCumulative->values("TARGET.CAPABILITY");
if (m_varValues != newVarValues) {
......
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