diff options
author | hjk <hjk@theqtcompany.com> | 2015-02-23 11:07:38 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-02-24 13:52:00 +0000 |
commit | 592ffe737794c59045b6d2f7964621ecfd44dea3 (patch) | |
tree | 1982872fa84d92ec105f4a016d2232ba26000c29 /src/plugins/projectexplorer/targetsetupwidget.cpp | |
parent | 655eed467e19324b9909dfa98e1f481bb320ce7d (diff) |
SettingsDialog: Remove CategoryId parameter from callers
PageIds are supposed to be unique, so the CategoryId can be determined
from the PageId. Look for PageIds in the already expanded categories
first before searching through expensive categories.
Change-Id: I006beb0df6183453163ac1810fe59a306a0f52b1
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/targetsetupwidget.cpp')
-rw-r--r-- | src/plugins/projectexplorer/targetsetupwidget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/targetsetupwidget.cpp b/src/plugins/projectexplorer/targetsetupwidget.cpp index 67b5aea7cc..bc2620c4c7 100644 --- a/src/plugins/projectexplorer/targetsetupwidget.cpp +++ b/src/plugins/projectexplorer/targetsetupwidget.cpp @@ -230,9 +230,7 @@ void TargetSetupWidget::manageKit() return; page->showKit(m_kit); - Core::ICore::showOptionsDialog(Constants::PROJECTEXPLORER_SETTINGS_CATEGORY, - Constants::KITS_SETTINGS_PAGE_ID, - this->parentWidget()); + Core::ICore::showOptionsDialog(Constants::KITS_SETTINGS_PAGE_ID, parentWidget()); } void TargetSetupWidget::setProjectPath(const QString &projectPath) |