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/targetsettingspanel.cpp | |
parent | 655eed467e19324b9909dfa98e1f481bb320ce7d (diff) | |
download | qt-creator-592ffe737794c59045b6d2f7964621ecfd44dea3.tar.gz |
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/targetsettingspanel.cpp')
-rw-r--r-- | src/plugins/projectexplorer/targetsettingspanel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp index 376a8ef0aa..6a74229224 100644 --- a/src/plugins/projectexplorer/targetsettingspanel.cpp +++ b/src/plugins/projectexplorer/targetsettingspanel.cpp @@ -644,9 +644,7 @@ void TargetSettingsPanelWidget::openTargetPreferences() if (KitOptionsPage *page = ExtensionSystem::PluginManager::getObject<KitOptionsPage>()) page->showKit(m_targets.at(targetIndex)->kit()); } - ICore::showOptionsDialog(Constants::PROJECTEXPLORER_SETTINGS_CATEGORY, - Constants::KITS_SETTINGS_PAGE_ID, - this); + ICore::showOptionsDialog(Constants::KITS_SETTINGS_PAGE_ID, this); } void TargetSettingsPanelWidget::importTarget() |