• Daniel Teske's avatar
    Kit: Fix crash on removing android kits that were autodetected · 64cc15bc
    Daniel Teske authored
    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: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
    64cc15bc
Name
Last commit
Last update
bin Loading commit data...
dist Loading commit data...
doc Loading commit data...
qbs Loading commit data...
scripts Loading commit data...
share Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
HACKING Loading commit data...
LGPL_EXCEPTION.TXT Loading commit data...
LICENSE.LGPLv21 Loading commit data...
LICENSE.LGPLv3 Loading commit data...
README Loading commit data...
qtcreator.pri Loading commit data...
qtcreator.pro Loading commit data...
qtcreator.qbs Loading commit data...