Skip to content
Snippets Groups Projects
Commit b756d30c authored by dt's avatar dt
Browse files

Targetsetuppage: Import failed messagebox hiding dialog

Give it a better parent.

Task-Nr: QTCREATORBUG-4192
parent 81177fab
No related branches found
No related tags found
No related merge requests found
...@@ -499,7 +499,7 @@ void Qt4DefaultTargetSetupWidget::addImportClicked() ...@@ -499,7 +499,7 @@ void Qt4DefaultTargetSetupWidget::addImportClicked()
} }
if (!info.version->supportsTargetId(m_id)) { if (!info.version->supportsTargetId(m_id)) {
QMessageBox::critical(Core::ICore::instance()->mainWindow(), QMessageBox::critical(this,
tr("Incompatible build found"), tr("Incompatible build found"),
tr("The Build found in %1 is incompatible with this target").arg(m_importLinePath->path())); tr("The Build found in %1 is incompatible with this target").arg(m_importLinePath->path()));
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment