summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2011-07-12 15:06:57 +0200
committerEike Ziller <eike.ziller@nokia.com>2011-07-12 15:32:12 +0200
commit281fa2c013cb1653ddee93cc68178b44a169b47f (patch)
treecd25eb074d8a764588573cae91f022aec77774d8
parentebcd81136bbf2d976d7f7e8143edb4b1f9fbccd5 (diff)
downloadqt-creator-281fa2c013cb1653ddee93cc68178b44a169b47f.tar.gz
Works around a problem in Qt/Mac with mixed modal/non-modal dialogs.
Which leads to non-modal dialog getting incorrectly covered by the modal one. Task-number: QTCREATORBUG-5406 Change-Id: I1abd3051b9b849ecb5ee36316a0ab481ebcc754a Reviewed-on: http://codereview.qt.nokia.com/1527 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
-rw-r--r--src/plugins/qtsupport/qtoptionspage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/qtoptionspage.cpp b/src/plugins/qtsupport/qtoptionspage.cpp
index 40febd9410..5a3c5997d9 100644
--- a/src/plugins/qtsupport/qtoptionspage.cpp
+++ b/src/plugins/qtsupport/qtoptionspage.cpp
@@ -486,7 +486,7 @@ void QtOptionsPageWidget::showDebuggingBuildLog(const QTreeWidgetItem *currentIt
const int currentItemIndex = indexForTreeItem(currentItem);
if (currentItemIndex < 0)
return;
- BuildLogDialog *dialog = new BuildLogDialog(this);
+ BuildLogDialog *dialog = new BuildLogDialog(this->window());
dialog->setWindowTitle(tr("Debugging Helper Build Log for '%1'").arg(currentItem->text(0)));
dialog->setText(currentItem->data(0, BuildLogRole).toString());
dialog->show();