summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/targetsettingspanel.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-07-14 14:47:24 +0200
committerhjk <hjk121@nokiamail.com>2014-07-14 16:24:26 +0200
commitbef7181ed08217760b8d0ab1b4743a89414dff1e (patch)
tree3f924e3ee87047aba9b4d82394668c242b21ad4f /src/plugins/projectexplorer/targetsettingspanel.cpp
parentb87867e90552db0d8d34513f5a3bcf8eb3753abf (diff)
downloadqt-creator-bef7181ed08217760b8d0ab1b4743a89414dff1e.tar.gz
Set parent for options dialog where appropriate.
Otherwise the options dialog might appear behind the current "dialog" (for example the "new" wizards). Also, take ICore::dialogParent as default. Change-Id: I4578e269db5763842a942549a45ec8cdd6b28b5d Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/targetsettingspanel.cpp')
-rw-r--r--src/plugins/projectexplorer/targetsettingspanel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp
index 7e78e69197..d1b821f375 100644
--- a/src/plugins/projectexplorer/targetsettingspanel.cpp
+++ b/src/plugins/projectexplorer/targetsettingspanel.cpp
@@ -630,7 +630,8 @@ void TargetSettingsPanelWidget::openTargetPreferences()
page->showKit(m_targets.at(targetIndex)->kit());
}
ICore::showOptionsDialog(Constants::PROJECTEXPLORER_SETTINGS_CATEGORY,
- Constants::KITS_SETTINGS_PAGE_ID);
+ Constants::KITS_SETTINGS_PAGE_ID,
+ this);
}
void TargetSettingsPanelWidget::importTarget()