Commit 677f7251 authored by Patrick José Pereira's avatar Patrick José Pereira

AutoPilotPlugins: Use QString::arg with multiple QString parameters

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 4885d2f5
......@@ -170,7 +170,7 @@ void PX4AdvancedFlightModesController::_validateConfiguration(void)
for (int j=0; j<switchParams.count(); j++) {
if (map != 0 && map == switchMappings[j]) {
_validConfiguration = false;
_configurationErrors += tr("%1 is set to same channel as %2.\n").arg(switchParams[j]).arg(attitudeParams[i]);
_configurationErrors += tr("%1 is set to same channel as %2.\n").arg(switchParams[j], attitudeParams[i]);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment