Skip to content

Commit 4b2562e

Browse files
wentasahstevedanomodolor
authored andcommitted
nav2_rviz_plugins: Don't use non-existent slot (ros-navigation#5016)
The definition of the slot was removed in commit e6f500e ("nav2_rviz_plugins: Remove slots without implementation (ros-navigation#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> Signed-off-by: stevedanomodolor <stevedan.o.omodolor@gmail.com>
1 parent 34992e2 commit 4b2562e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎nav2_rviz_plugins/src/costmap_cost_tool.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ CostmapCostTool::CostmapCostTool()
3030
auto_deactivate_property_ = new rviz_common::properties::BoolProperty(
3131
"Single click", true,
3232
"Switch away from this tool after one click.",
33-
getPropertyContainer(), SLOT(updateAutoDeactivate()), this);
33+
getPropertyContainer(), nullptr, this);
3434
}
3535

3636
CostmapCostTool::~CostmapCostTool() {}

0 commit comments

Comments
 (0)