From ff083c1e3daa8b7df258374a5923d031e70f5f4c Mon Sep 17 00:00:00 2001 From: Tobias Hunger <tobias.hunger@nokia.com> Date: Fri, 10 Feb 2012 12:36:00 +0100 Subject: [PATCH] QMake: Do not warn when using default mkspec Change-Id: I945d3fa33193394e00842cf4f6d2f1bb2852033d Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> --- src/plugins/qt4projectmanager/qmakestep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qmakestep.cpp b/src/plugins/qt4projectmanager/qmakestep.cpp index 85126c27441..2bddba4b9ab 100644 --- a/src/plugins/qt4projectmanager/qmakestep.cpp +++ b/src/plugins/qt4projectmanager/qmakestep.cpp @@ -698,7 +698,7 @@ void QMakeStepConfigWidget::updateSummaryLabel() if (!tc) return; 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.")); else setAdditionalSummaryText(QString()); -- GitLab