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 057591e0dd.
This commit is contained in:
Kai Koehne
2010-12-16 12:37:47 +01:00
parent 0277bab017
commit 34846ac499

View File

@@ -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) {