Commit e1da2d8d authored by Daniel Teske's avatar Daniel Teske

KitConfigWidget: Only emit autodetectionChanged if itactually changed

Ups. I verified that the crash is still fixed.

Change-Id: Ibb3a72bab79eb433ff426c90a60b33cc6a6d873b
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 39107ca2
......@@ -357,7 +357,8 @@ void KitManagerConfigWidget::kitWasUpdated(Kit *k)
if (m_kit == k) {
bool emitSignal = m_kit->isAutoDetected() != m_modifiedKit->isAutoDetected();
discard();
emit isAutoDetectedChanged();
if (emitSignal)
emit isAutoDetectedChanged();
}
updateVisibility();
}
......
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