Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
677f7251
Commit
677f7251
authored
Oct 23, 2018
by
Patrick José Pereira
Browse files
AutoPilotPlugins: Use QString::arg with multiple QString parameters
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
4885d2f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/PX4/PX4AdvancedFlightModesController.cc
View file @
677f7251
...
...
@@ -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
]);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment