• Friedemann Kleint's avatar
    Introduce an enumeration for toolchain autodetection. · 1226400a
    Friedemann Kleint authored
    Replace boolean "autodetect" by an enumeration with a value
    AutoDetectionFromSettings indicating whether the Autodetection
    originates from a settings file. Enable the "Remove" button for
    those cases.
    Currently, there is no way to remove toolchains that were once
    autodetected and are no longer present. This happens for example
    when working in different MinGW environments, which then
    clutter up the toolchain options page and dramatically slow
    down the options page opening since gcc is launched to query
    the flags, etc.
    Change-Id: I731168d8694fe56f60d909f9779f83cffa55fd44
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
    Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
msvctoolchain.cpp 25.6 KB