Commit 32bc1c15 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix possible crash in qmakestepwidget

Reviewed-by: dt
parent 0f6376f1
......@@ -498,10 +498,9 @@ void QMakeStepConfigWidget::qtVersionChanged()
void QMakeStepConfigWidget::qtVersionsDumpUpdated(const QString &qmakeCommand)
if (BaseQtVersion *version = m_step->qt4BuildConfiguration()->qtVersion()) {
if (version->qmakeCommand() == qmakeCommand)
BaseQtVersion *version = m_step->qt4BuildConfiguration()->qtVersion();
if (version && version->qmakeCommand() == qmakeCommand)
void QMakeStepConfigWidget::qmakeBuildConfigChanged()
Supports Markdown
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