forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -486,7 +486,7 @@ void QtOptionsPageWidget::showDebuggingBuildLog(const QTreeWidgetItem *currentIt
|
|||||||
const int currentItemIndex = indexForTreeItem(currentItem);
|
const int currentItemIndex = indexForTreeItem(currentItem);
|
||||||
if (currentItemIndex < 0)
|
if (currentItemIndex < 0)
|
||||||
return;
|
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->setWindowTitle(tr("Debugging Helper Build Log for '%1'").arg(currentItem->text(0)));
|
||||||
dialog->setText(currentItem->data(0, BuildLogRole).toString());
|
dialog->setText(currentItem->data(0, BuildLogRole).toString());
|
||||||
dialog->show();
|
dialog->show();
|
||||||
|
|||||||
Reference in New Issue
Block a user