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
a8a3316c
Commit
a8a3316c
authored
May 18, 2014
by
Lorenz Meier
Browse files
Mainwindow: Removed debug output
parent
9b5cf82f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
a8a3316c
...
...
@@ -1516,21 +1516,11 @@ bool MainWindow::configLink(LinkInterface *link)
void
MainWindow
::
addLink
(
LinkInterface
*
link
)
{
qDebug
()
<<
"ADD LINK CALLED FROM SOMEWHERE"
;
// IMPORTANT! KEEP THESE TWO LINES
// THEY MAKE SURE THE LINK IS PROPERLY REGISTERED
// BEFORE LINKING THE UI AGAINST IT
// Register (does nothing if already registered)
LinkManager
::
instance
()
->
add
(
link
);
if
(
mavlink
)
{
qDebug
()
<<
"MAVLINK OK"
;
}
else
{
qDebug
()
<<
"MAVLINK FAIL"
;
}
LinkManager
::
instance
()
->
addProtocol
(
link
,
mavlink
);
// Go fishing for this link's configuration window
...
...
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