Target setup page: 2. message box parent

Give the other message box the right parent too.

Task-Nr: QTCREATORBUG-4192
This commit is contained in:
dt
2011-03-24 19:27:29 +01:00
parent ed5d10a114
commit 34417d3258

View File

@@ -492,7 +492,7 @@ void Qt4DefaultTargetSetupWidget::addImportClicked()
} }
BuildConfigurationInfo info = BuildConfigurationInfo::checkForBuild(m_importLinePath->path(), m_proFilePath); BuildConfigurationInfo info = BuildConfigurationInfo::checkForBuild(m_importLinePath->path(), m_proFilePath);
if (!info.isValid()) { if (!info.isValid()) {
QMessageBox::critical(Core::ICore::instance()->mainWindow(), QMessageBox::critical(this,
tr("No build found"), tr("No build found"),
tr("No Build found in %1 matching project %2.").arg(m_importLinePath->path()).arg(m_proFilePath)); tr("No Build found in %1 matching project %2.").arg(m_importLinePath->path()).arg(m_proFilePath));
return; return;