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
......@@ -499,7 +499,7 @@ void Qt4DefaultTargetSetupWidget::addImportClicked()
}
if (!info.version->supportsTargetId(m_id)) {
QMessageBox::critical(Core::ICore::instance()->mainWindow(),
QMessageBox::critical(this,
tr("Incompatible build found"),
tr("The Build found in %1 is incompatible with this target").arg(m_importLinePath->path()));
return;
......
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