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