forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.2'
Conflicts: src/plugins/debugger/debuggersourcepathmappingwidget.cpp
This commit is contained in:
@@ -613,7 +613,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;
|
||||
@@ -720,6 +720,8 @@ void Qt4DefaultTargetSetupWidget::createImportWidget(const BuildConfigurationInf
|
||||
QCheckBox *checkBox = new QCheckBox;
|
||||
checkBox->setText(tr("Import build from %1").arg(info.directory));
|
||||
checkBox->setChecked(m_importEnabled.at(pos));
|
||||
if (info.version)
|
||||
checkBox->setToolTip(info.version->toHtml(false));
|
||||
m_importLayout->addWidget(checkBox, pos, 0, 1, 2);
|
||||
|
||||
connect(checkBox, SIGNAL(toggled(bool)),
|
||||
@@ -738,6 +740,8 @@ void Qt4DefaultTargetSetupWidget::setupWidgets()
|
||||
QCheckBox *checkbox = new QCheckBox;
|
||||
checkbox->setText(displayNameFrom(info));
|
||||
checkbox->setChecked(m_enabled.at(i));
|
||||
if (info.version)
|
||||
checkbox->setToolTip(info.version->toHtml(false));
|
||||
m_newBuildsLayout->addWidget(checkbox, i * 2, 0);
|
||||
|
||||
Utils::PathChooser *pathChooser = new Utils::PathChooser();
|
||||
|
||||
Reference in New Issue
Block a user