Skip to content
Snippets Groups Projects
Commit ff083c1e authored by Tobias Hunger's avatar Tobias Hunger
Browse files

QMake: Do not warn when using default mkspec


Change-Id: I945d3fa33193394e00842cf4f6d2f1bb2852033d
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 5ab221ae
No related branches found
No related tags found
No related merge requests found
...@@ -698,7 +698,7 @@ void QMakeStepConfigWidget::updateSummaryLabel() ...@@ -698,7 +698,7 @@ void QMakeStepConfigWidget::updateSummaryLabel()
if (!tc) if (!tc)
return; return;
QList<Utils::FileName> tcSpecList = tc->mkspecList(); QList<Utils::FileName> tcSpecList = tc->mkspecList();
if (!tcSpecList.contains(m_step->mkspec())) if (!tcSpecList.isEmpty() && !tcSpecList.contains(m_step->mkspec()))
setAdditionalSummaryText(tr("<b>Warning:</b> The tool chain suggests using another mkspec.")); setAdditionalSummaryText(tr("<b>Warning:</b> The tool chain suggests using another mkspec."));
else else
setAdditionalSummaryText(QString()); setAdditionalSummaryText(QString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment