Commit 9ff15c1a authored by Alessandro Portale's avatar Alessandro Portale

ScxmlEditor: Fix swapped info and error icons

Change-Id: I1ba91c8bad533eb601e4e58e729fbcdb4b862a51
Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
parent 44ea2fb9
......@@ -163,11 +163,11 @@ void ErrorWidget::updateWarnings()
m_title = tr("Errors(%1) / Warnings(%2) / Info(%3)").arg(errorCount).arg(warningCount).arg(infoCount);
if (errorCount > 0)
m_icon = m_showInfos->icon();
m_icon = m_showErrors->icon();
else if (warningCount > 0)
m_icon = m_showWarnings->icon();
else if (infoCount > 0)
m_icon = m_showErrors->icon();
m_icon = m_showInfos->icon();
else
m_icon = QIcon();
......
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