Skip to content
GitLab
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
385aa898
Commit
385aa898
authored
Jul 25, 2019
by
Don Gagne
Browse files
TTS update
parent
e01c814e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Audio/AudioOutput.cc
View file @
385aa898
...
...
@@ -125,6 +125,9 @@ QString AudioOutput::fixTextMessageForAudio(const QString& string) {
if
(
result
.
contains
(
"PREARM"
,
Qt
::
CaseInsensitive
))
{
result
.
replace
(
"PREARM"
,
"pre arm"
,
Qt
::
CaseInsensitive
);
}
if
(
result
.
contains
(
"PITOT"
,
Qt
::
CaseInsensitive
))
{
result
.
replace
(
"PITOT"
,
"pee toe"
,
Qt
::
CaseInsensitive
);
}
// Convert negative numbers
QRegularExpression
re
(
QStringLiteral
(
"(-)[0-9]*
\\
.?[0-9]"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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