Commit 34417d32 authored by dt's avatar dt
Browse files

Target setup page: 2. message box parent

Give the other message box the right parent too.

Task-Nr: QTCREATORBUG-4192
parent ed5d10a1
......@@ -492,7 +492,7 @@ void Qt4DefaultTargetSetupWidget::addImportClicked()
}
BuildConfigurationInfo info = BuildConfigurationInfo::checkForBuild(m_importLinePath->path(), m_proFilePath);
if (!info.isValid()) {
QMessageBox::critical(Core::ICore::instance()->mainWindow(),
QMessageBox::critical(this,
tr("No build found"),
tr("No Build found in %1 matching project %2.").arg(m_importLinePath->path()).arg(m_proFilePath));
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