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
d1be9276
Commit
d1be9276
authored
Dec 01, 2014
by
Don Gagne
Browse files
Merge pull request #1039 from DonLakeFlyer/ConnectFix
Fix broken connect
parents
6140fed9
e7908d74
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ui/DebugConsole.cc
View file @
d1be9276
...
...
@@ -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 @
d1be9276
...
...
@@ -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