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
5ccea177
Commit
5ccea177
authored
Feb 20, 2014
by
Bryant
Browse files
Message view: Forgot to remove debugging output.
parent
d4a8efbd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ui/uas/QGCMessageView.cc
View file @
5ccea177
...
...
@@ -151,7 +151,6 @@ void QGCMessageView::handleTextMessage(int uasid, int compId, int severity, QStr
// Finally append the properly-styled text with a timestamp.
QString
dateString
=
QDateTime
::
currentDateTime
().
toString
(
Qt
::
SystemLocaleShortDate
);
msgWidget
->
appendHtml
(
QString
(
"<p style=
\"
%1
\"
>[%2][%3:%4] %5 - %6</p>"
).
arg
(
style
).
arg
(
dateString
).
arg
(
uasName
).
arg
(
compId
).
arg
(
severityText
).
arg
(
text
));
qDebug
()
<<
msgWidget
->
document
()
->
toHtml
();
// Ensure text area scrolls correctly
scroller
->
setValue
(
scroller
->
maximum
());
...
...
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