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
e7908d74
Commit
e7908d74
authored
Nov 30, 2014
by
Don Gagne
Browse files
Fix broken connect
parent
46a647e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ui/DebugConsole.cc
View file @
e7908d74
...
...
@@ -183,7 +183,7 @@ void DebugConsole::addLink(LinkInterface* link)
// Register for name changes
connect
(
link
,
SIGNAL
(
nameChanged
(
QString
)),
this
,
SLOT
(
updateLinkName
(
QString
)),
Qt
::
UniqueConnection
);
connect
(
l
ink
,
SIGNAL
(
linkDeleted
(
LinkInterface
*
const
)),
this
,
SLOT
(
removeLink
(
LinkInterface
*
const
))
,
Qt
::
UniqueConnection
);
connect
(
L
ink
Manager
::
instance
(),
&
LinkManager
::
linkDeleted
,
this
,
&
DebugConsole
::
removeLink
,
Qt
::
UniqueConnection
);
}
void
DebugConsole
::
removeLink
(
LinkInterface
*
const
linkInterface
)
...
...
src/ui/DebugConsole.h
View file @
e7908d74
...
...
@@ -66,7 +66,7 @@ public slots:
/** @brief Add a UAS to the list of monitored UAS */
void
uasCreated
(
UASInterface
*
uas
);
/** @brief Remove a link from the list */
void
removeLink
(
LinkInterface
*
const
link
);
void
removeLink
(
LinkInterface
*
link
);
/** @brief Update a link name */
void
updateLinkName
(
QString
name
);
/** @brief Select a link for the active view */
...
...
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