Commit 281fa2c0 authored by Eike Ziller's avatar Eike Ziller

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/1527Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent ebcd8113
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment