Commit b470bdc6 authored by Kai Koehne's avatar Kai Koehne
Browse files

QMakeStep: Check whether Qt version is valid

Pointed out by dt
parent dfec4222
......@@ -498,8 +498,10 @@ void QMakeStepConfigWidget::qtVersionChanged()
void QMakeStepConfigWidget::qtVersionsUpdated(const QString &qmakeCommand)
{
if (m_step->qt4BuildConfiguration()->qtVersion()->qmakeCommand() == qmakeCommand)
qtVersionChanged();
if (BaseQtVersion *version = m_step->qt4BuildConfiguration()->qtVersion()) {
if (version->qmakeCommand() == qmakeCommand)
qtVersionChanged();
}
}
void QMakeStepConfigWidget::qmakeBuildConfigChanged()
......
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