Button naming consistency

This commit is contained in:
Nav
2021-10-10 14:18:26 +01:00
parent f4a596709b
commit 4ce850e1d7
2 changed files with 4 additions and 4 deletions

View File

@@ -46,8 +46,8 @@ TargetRegistersPaneWidget::TargetRegistersPaneWidget(
layout->addWidget(this->container);
this->toolBar = this->container->findChild<QWidget*>("tool-bar");
this->collapseAllButton = this->toolBar->findChild<SvgToolButton*>("collapse-all-button");
this->expandAllButton = this->toolBar->findChild<SvgToolButton*>("expand-all-button");
this->collapseAllButton = this->toolBar->findChild<SvgToolButton*>("collapse-all-btn");
this->expandAllButton = this->toolBar->findChild<SvgToolButton*>("expand-all-btn");
this->toolBar->layout()->setContentsMargins(5, 0, 5, 0);
this->searchInput = this->container->findChild<QLineEdit*>("search-input");

View File

@@ -39,7 +39,7 @@
</spacer>
</item>
<item>
<widget class="SvgToolButton" name="expand-all-button">
<widget class="SvgToolButton" name="expand-all-btn">
<property name="svgFilePath">
<string>:/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/Images/expand-all.svg</string>
</property>
@@ -49,7 +49,7 @@
</widget>
</item>
<item>
<widget class="SvgToolButton" name="collapse-all-button">
<widget class="SvgToolButton" name="collapse-all-btn">
<property name="svgFilePath">
<string>:/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/Images/collapse-all.svg</string>
</property>