diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2024-01-18 17:43:33 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2024-01-19 11:27:11 +0000 |
commit | 3fc1b5f57b36adb9dabf84e496ea87819b1a4d79 (patch) | |
tree | 9ea7215dffb5b1305da01cd4ee4a2da30ed7974d /src/plugins/projectexplorer/targetsetupwidget.cpp | |
parent | b9cce1a0babbb01e6a87250c0b273bff70bf2147 (diff) |
Core: Let callers specify which part of an options page to pre-select
... and use it for the "Manage kits" functionality.
We will make use of this in other contexts as well.
Task-number: QTCREATORBUG-25077
Change-Id: I79c622075b9385b060aed73534d39acc23fd765e
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/targetsetupwidget.cpp')
-rw-r--r-- | src/plugins/projectexplorer/targetsetupwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/targetsetupwidget.cpp b/src/plugins/projectexplorer/targetsetupwidget.cpp index 48a380f9be..3ccf02b38d 100644 --- a/src/plugins/projectexplorer/targetsetupwidget.cpp +++ b/src/plugins/projectexplorer/targetsetupwidget.cpp @@ -182,8 +182,7 @@ void TargetSetupWidget::manageKit() if (!m_kit) return; - setSelectectKitId(m_kit->id()); - Core::ICore::showOptionsDialog(Constants::KITS_SETTINGS_PAGE_ID, parentWidget()); + Core::ICore::showOptionsDialog(Constants::KITS_SETTINGS_PAGE_ID, m_kit->id(), parentWidget()); } void TargetSetupWidget::setProjectPath(const FilePath &projectPath) |