Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
nav2_rviz_plugins: Don't use non-existent slot
The definition of the slot was removed in commit
e6f500e ("nav2_rviz_plugins: Remove slots without
implementation (#4974)", 2025-03-10), because it had no
implementation. But we forgot to remove the reference to this slot,
because the compiler cannot detect it.

We remove the reference now. Without this, rviz shows warnings like:

    QObject::connect: No such slot nav2_rviz_plugins::CostmapCostTool::updateAutoDeactivate()
    QObject::connect:  (sender name:   'Single click')

Signed-off-by: Michal Sojka <michal.sojka@cvut.cz>
  • Loading branch information
wentasah committed Mar 24, 2025
commit 59d86d58e1bdf00438f01bf17f0ae107d790fefb
2 changes: 1 addition & 1 deletion nav2_rviz_plugins/src/costmap_cost_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CostmapCostTool::CostmapCostTool()
auto_deactivate_property_ = new rviz_common::properties::BoolProperty(
"Single click", true,
"Switch away from this tool after one click.",
getPropertyContainer(), SLOT(updateAutoDeactivate()), this);
getPropertyContainer(), nullptr, this);
}

CostmapCostTool::~CostmapCostTool() {}
Expand Down
Loading