forked from qt-creator/qt-creator
Change from "Add/Remove Build Steps" to "Add/Remove Clean Steps"
In the Clean Steps section
This commit is contained in:
@@ -60,12 +60,12 @@ BuildStepsPage::BuildStepsPage(Project *project, bool clean) :
|
|||||||
|
|
||||||
QHBoxLayout *hboxLayout = new QHBoxLayout();
|
QHBoxLayout *hboxLayout = new QHBoxLayout();
|
||||||
m_addButton = new QPushButton(this);
|
m_addButton = new QPushButton(this);
|
||||||
m_addButton->setText(tr("Add build step"));
|
m_addButton->setText(clean ? tr("Add clean step") : tr("Add build step"));
|
||||||
m_addButton->setMenu(new QMenu(this));
|
m_addButton->setMenu(new QMenu(this));
|
||||||
hboxLayout->addWidget(m_addButton);
|
hboxLayout->addWidget(m_addButton);
|
||||||
|
|
||||||
m_removeButton = new QPushButton(this);
|
m_removeButton = new QPushButton(this);
|
||||||
m_removeButton->setText(tr("Remove build step"));
|
m_removeButton->setText(clean ? tr("Remove clean step") : tr("Remove build step"));
|
||||||
m_removeButton->setMenu(new QMenu(this));
|
m_removeButton->setMenu(new QMenu(this));
|
||||||
hboxLayout->addWidget(m_removeButton);
|
hboxLayout->addWidget(m_removeButton);
|
||||||
hboxLayout->addStretch(10);
|
hboxLayout->addStretch(10);
|
||||||
|
|||||||
Reference in New Issue
Block a user