Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
979a3f0f
Commit
979a3f0f
authored
Jun 27, 2019
by
Patrick José Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UASMessageHandler: Remove QString constructor with tr
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
9914b409
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
UASMessageHandler.cc
src/uas/UASMessageHandler.cc
+9
-9
No files found.
src/uas/UASMessageHandler.cc
View file @
979a3f0f
...
...
@@ -153,31 +153,31 @@ void UASMessageHandler::handleTextMessage(int, int compId, int severity, QString
switch
(
severity
)
{
case
MAV_SEVERITY_EMERGENCY
:
severityText
=
QString
(
tr
(
" EMERGENCY:"
)
);
severityText
=
tr
(
" EMERGENCY:"
);
break
;
case
MAV_SEVERITY_ALERT
:
severityText
=
QString
(
tr
(
" ALERT:"
)
);
severityText
=
tr
(
" ALERT:"
);
break
;
case
MAV_SEVERITY_CRITICAL
:
severityText
=
QString
(
tr
(
" Critical:"
)
);
severityText
=
tr
(
" Critical:"
);
break
;
case
MAV_SEVERITY_ERROR
:
severityText
=
QString
(
tr
(
" Error:"
)
);
severityText
=
tr
(
" Error:"
);
break
;
case
MAV_SEVERITY_WARNING
:
severityText
=
QString
(
tr
(
" Warning:"
)
);
severityText
=
tr
(
" Warning:"
);
break
;
case
MAV_SEVERITY_NOTICE
:
severityText
=
QString
(
tr
(
" Notice:"
)
);
severityText
=
tr
(
" Notice:"
);
break
;
case
MAV_SEVERITY_INFO
:
severityText
=
QString
(
tr
(
" Info:"
)
);
severityText
=
tr
(
" Info:"
);
break
;
case
MAV_SEVERITY_DEBUG
:
severityText
=
QString
(
tr
(
" Debug:"
)
);
severityText
=
tr
(
" Debug:"
);
break
;
default:
severityText
=
QString
(
tr
(
""
)
);
severityText
=
tr
(
""
);
break
;
}
...
...
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