Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tier4_state_rviz_plugin): fix unmatchedSuppression #8921

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion common/tier4_state_rviz_plugin/src/custom_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ QSize CustomElevatedButton::minimumSizeHint() const
return sizeHint();
}

// cppcheck-suppress unusedFunction
void CustomElevatedButton::updateStyle(
const QString & text, const QColor & bgColor, const QColor & textColor, const QColor & hoverColor,
const QColor & pressedColor, const QColor & checkedColor, const QColor & disabledBgColor,
Expand Down
1 change: 0 additions & 1 deletion common/tier4_state_rviz_plugin/src/custom_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ CustomContainer::CustomContainer(QWidget * parent) : QFrame(parent), cornerRadiu
setLayout(layout);
}

// cppcheck-suppress unusedFunction
QGridLayout * CustomContainer::getLayout() const
{
return layout; // Provide access to the layout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ CustomSegmentedButtonItem * CustomSegmentedButton::addButton(const QString & tex
return button;
}

// cppcheck-suppress unusedFunction
QButtonGroup * CustomSegmentedButton::getButtonGroup() const
{
return buttonGroup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,12 @@ CustomSegmentedButtonItem::CustomSegmentedButtonItem(const QString & text, QWidg
// setFixedSize(width, height);
// }

// cppcheck-suppress unusedFunction
void CustomSegmentedButtonItem::setHovered(bool hovered)
{
isHovered = hovered;
updateCheckableState();
}

// cppcheck-suppress unusedFunction
void CustomSegmentedButtonItem::setCheckableButton(bool checkable)
{
setCheckable(checkable);
Expand All @@ -66,14 +64,12 @@ void CustomSegmentedButtonItem::updateCheckableState()
update();
}

// cppcheck-suppress unusedFunction
void CustomSegmentedButtonItem::setDisabledButton(bool disabled)
{
isDisabled = disabled;
updateCheckableState();
}

// cppcheck-suppress unusedFunction
void CustomSegmentedButtonItem::setActivated(bool activated)
{
isActivated = activated;
Expand Down
Loading