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