forked from qt-creator/qt-creator
ProjectExplorer: Make BuildStepConfigWidget::displayName a value
Use BuildStep::displayName() as default. This probably could be the only possibility, but currently there are some discrepancies that are kept in this patch to make the patch mechanical. Change-Id: I2a1e5c2ff37ad95e25309eb16e07099e42191f60 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -45,6 +45,8 @@ NimCompilerBuildStepConfigWidget::NimCompilerBuildStepConfigWidget(NimCompilerBu
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
||||
setDisplayName(tr(Constants::C_NIMCOMPILERBUILDSTEPWIDGET_DISPLAY));
|
||||
|
||||
// Connect the project signals
|
||||
auto project = static_cast<NimProject *>(m_buildStep->project());
|
||||
connect(project, &NimProject::fileListChanged,
|
||||
@@ -72,11 +74,6 @@ QString NimCompilerBuildStepConfigWidget::summaryText() const
|
||||
return tr(Constants::C_NIMCOMPILERBUILDSTEPWIDGET_SUMMARY);
|
||||
}
|
||||
|
||||
QString NimCompilerBuildStepConfigWidget::displayName() const
|
||||
{
|
||||
return tr(Constants::C_NIMCOMPILERBUILDSTEPWIDGET_DISPLAY);
|
||||
}
|
||||
|
||||
void NimCompilerBuildStepConfigWidget::onTargetChanged(int index)
|
||||
{
|
||||
Q_UNUSED(index);
|
||||
|
||||
Reference in New Issue
Block a user