Problem
Some Qt widget signals currently use const std::string& parameters.
This is unsafe with queued Qt connections, as the referenced string may no longer be valid when the signal is delivered.
Proposed solution
Replace all const std::string& signal parameters with std::string passed by value.
Review the corresponding slots, connections, and tests to ensure the change is applied consistently.
Problem
Some Qt widget signals currently use
const std::string¶meters.This is unsafe with queued Qt connections, as the referenced string may no longer be valid when the signal is delivered.
Proposed solution
Replace all
const std::string&signal parameters withstd::stringpassed by value.Review the corresponding slots, connections, and tests to ensure the change is applied consistently.