Skip to content
Snippets Groups Projects
Commit e2400f57 authored by con's avatar con
Browse files

Use same button type (QToolButton) for all build step buttons.

Makes it look a bit less bad on Mac
parent c10b4e8c
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ void BuildStepsPage::addBuildStepWidget(int pos, BuildStep *step)
s.upButton->setIconSize(QSize(10, 10));
s.downButton->setIconSize(QSize(10, 10));
#endif
s.removeButton = new QPushButton(this);
s.removeButton = new QToolButton(this);
s.removeButton->setText(QChar('X'));
s.removeButton->setMaximumHeight(22);
s.removeButton->setMaximumWidth(22);
......
......@@ -58,7 +58,7 @@ struct BuildStepsWidgetStruct
Utils::DetailsWidget *detailsWidget;
QToolButton *upButton;
QToolButton *downButton;
QPushButton *removeButton;
QToolButton *removeButton;
};
class BuildStepsPage : public BuildConfigWidget
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment