ProjectExplorer: Fixed kit sometimes not being marked dirty

Occassionally, the kit would not be marked for saving when changing
the device, due to an uninitialized bool member.

Task-number: QTCREATORBUG-9000
Change-Id: I85059cfd4b7e3106d7d353ba5884e6b93c480231
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Nätterlund
2013-04-05 10:29:18 +02:00
committed by Tobias Hunger
parent 3c24824b0f
commit 0d79eda517

View File

@@ -292,6 +292,7 @@ void DeviceTypeInformationConfigWidget::currentTypeChanged(int idx)
DeviceInformationConfigWidget::DeviceInformationConfigWidget(Kit *workingCopy) : DeviceInformationConfigWidget::DeviceInformationConfigWidget(Kit *workingCopy) :
KitConfigWidget(workingCopy), KitConfigWidget(workingCopy),
m_isReadOnly(false), m_isReadOnly(false),
m_ignoreChange(false),
m_comboBox(new QComboBox), m_comboBox(new QComboBox),
m_model(new DeviceManagerModel(DeviceManager::instance())) m_model(new DeviceManagerModel(DeviceManager::instance()))
{ {