UI/map: remove redundant QString ctor (#25704)
old-commit-hash: 69e9b285b3e125e319aedc9b587e4da44adb9913
This commit is contained in:
@@ -486,9 +486,9 @@ void MapInstructions::updateInstructions(cereal::NavInstruction::Reader instruct
|
||||
// for rhd, reflect direction and then flip
|
||||
if (is_rhd) {
|
||||
if (fn.contains("left")) {
|
||||
fn.replace(QString("left"), QString("right"));
|
||||
fn.replace("left", "right");
|
||||
} else if (fn.contains("right")) {
|
||||
fn.replace(QString("right"), QString("left"));
|
||||
fn.replace("right", "left");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user