diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-09-03 10:58:59 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-09-03 11:32:33 +0200 |
commit | 1226400af3da68f355f298935bc13807f257d224 (patch) | |
tree | 51105d06435ec24663c9976e6131e7203d9c1faa /src/plugins/projectexplorer/msvctoolchain.h | |
parent | f1d18ba38bffd85f4946223cce6cd983d814f440 (diff) | |
download | qt-creator-1226400af3da68f355f298935bc13807f257d224.tar.gz |
Introduce an enumeration for toolchain autodetection.
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: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/projectexplorer/msvctoolchain.h')
-rw-r--r-- | src/plugins/projectexplorer/msvctoolchain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/msvctoolchain.h b/src/plugins/projectexplorer/msvctoolchain.h index 29ecc16ba3..29d5387a1f 100644 --- a/src/plugins/projectexplorer/msvctoolchain.h +++ b/src/plugins/projectexplorer/msvctoolchain.h @@ -54,7 +54,7 @@ public: }; MsvcToolChain(const QString &name, const Abi &abi, - const QString &varsBat, const QString &varsBatArg, bool autodetect = false); + const QString &varsBat, const QString &varsBatArg, Detection d = ManualDetection); bool isValid() const; QList<Utils::FileName> suggestedMkspecList() const; |