forked from qt-creator/qt-creator
add missing tr()s, etc., add some //: comments
This commit is contained in:
@@ -207,7 +207,7 @@ ShadowBuildPage::ShadowBuildPage(CMakeOpenProjectWizard *cmakeWizard)
|
||||
m_pc = new Core::Utils::PathChooser(this);
|
||||
m_pc->setPath(m_cmakeWizard->buildDirectory());
|
||||
connect(m_pc, SIGNAL(changed()), this, SLOT(buildDirectoryChanged()));
|
||||
fl->addRow("Build directory:", m_pc);
|
||||
fl->addRow(tr("Build directory:"), m_pc);
|
||||
}
|
||||
|
||||
void ShadowBuildPage::buildDirectoryChanged()
|
||||
|
||||
@@ -610,7 +610,7 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeProject *project)
|
||||
// and then cmake builds in that directory instead of shadow building
|
||||
// We need our own generator for that to work
|
||||
connect(m_pathChooser, SIGNAL(changed()), this, SLOT(buildDirectoryChanged()));
|
||||
fl->addRow("Build directory:", m_pathChooser);
|
||||
fl->addRow(tr("Build directory:"), m_pathChooser);
|
||||
}
|
||||
|
||||
QString CMakeBuildSettingsWidget::displayName() const
|
||||
|
||||
@@ -256,12 +256,12 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep)
|
||||
setLayout(fl);
|
||||
|
||||
m_additionalArguments = new QLineEdit(this);
|
||||
fl->addRow("Additional arguments:", m_additionalArguments);
|
||||
fl->addRow(tr("Additional arguments:"), m_additionalArguments);
|
||||
|
||||
connect(m_additionalArguments, SIGNAL(textEdited(const QString &)), this, SLOT(additionalArgumentsEdited()));
|
||||
|
||||
m_targetsList = new QListWidget;
|
||||
fl->addRow("Targets:", m_targetsList);
|
||||
fl->addRow(tr("Targets:"), m_targetsList);
|
||||
|
||||
// TODO update this list also on rescans of the CMakeLists.txt
|
||||
CMakeProject *pro = m_makeStep->project();
|
||||
|
||||
Reference in New Issue
Block a user