aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/kitmanagerconfigwidget.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@theqtcompany.com>2015-01-20 12:43:46 +0100
committerDaniel Teske <daniel.teske@theqtcompany.com>2015-01-20 16:24:26 +0100
commit64cc15bca4f6e91917dea28387c39706a40805f3 (patch)
treefdde562034e9155e3c2a7f55cc1cb3ed4ea1ca28 /src/plugins/projectexplorer/kitmanagerconfigwidget.h
parent8211a849e1c754a976574ec66316b26e8f1f1da9 (diff)
Kit: Fix crash on removing android kits that were autodetected
To reproduce: In the Android settings, enabled "Automatically create kits" -> This creates kits with autodetected set to true Switch to the kits page to get the KitPage filled, those kits now appear under the autodetected node. Switch to the Android settings and disable "Automatically create kits", -> This doesn't want to delete the old kits, to not throw away user settings, so the kits are marked as manual by calling setAutoDetected Switch to the Kit page and notice the kits still listed under the autodetected node. Clicking apply enables the remove button and on removing Creator crashes. Add the necessary signal emissions to setAutoDetected and several other methods and fix the KitModel to cope with changes to autodetected. Task-number: QTCREATORBUG-13736 Change-Id: I3d0ff247a6bfff8ace53df8535749db5c736d54b Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/kitmanagerconfigwidget.h')
-rw-r--r--src/plugins/projectexplorer/kitmanagerconfigwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/kitmanagerconfigwidget.h b/src/plugins/projectexplorer/kitmanagerconfigwidget.h
index 28879d9767..750ed14eab 100644
--- a/src/plugins/projectexplorer/kitmanagerconfigwidget.h
+++ b/src/plugins/projectexplorer/kitmanagerconfigwidget.h
@@ -77,6 +77,7 @@ public:
signals:
void dirty();
+ void isAutoDetectedChanged();
private slots:
void setIcon();