diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-08-23 15:33:53 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-08-26 09:04:10 +0000 |
commit | 2cad0733c2ae50b3b7ae3e6326f4434639699c1f (patch) | |
tree | 830033a6f99befc2a8b9e89288de96de7323bde0 /src/plugins/projectexplorer/targetsetuppage.h | |
parent | dca7edbeef1ad622e41987b6cf87d1873ad757e6 (diff) |
ProjectExplorer: Do not reset kit selection in target setup widget
... on kit update. We don't know why the kit was originally selected,
and keeping track of this information would add unreasonable book-
keeping effort. Plus, the user probably does not expect the selection to
change anyway.
Change-Id: I341e1727a3f1fdd481c3a1670f821aee0e6b9cdd
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/targetsetuppage.h')
-rw-r--r-- | src/plugins/projectexplorer/targetsetuppage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/targetsetuppage.h b/src/plugins/projectexplorer/targetsetuppage.h index 7c59e49099..7ac07015c6 100644 --- a/src/plugins/projectexplorer/targetsetuppage.h +++ b/src/plugins/projectexplorer/targetsetuppage.h @@ -118,6 +118,7 @@ private: void setupWidgets(const QString &filterText = QString()); void reset(); + void setInitialCheckState(Internal::TargetSetupWidget *widget); Internal::TargetSetupWidget *widget(Kit *k, Internal::TargetSetupWidget *fallback = nullptr) const { return widget(k->id(), fallback); } |