diff --git a/src/ui/DebugConsole.cc b/src/ui/DebugConsole.cc index 857e6405377be83d1cfa02f25fe43b7688013c14..c5fd00298976e97b3a412aca086b068bae18cfa5 100644 --- a/src/ui/DebugConsole.cc +++ b/src/ui/DebugConsole.cc @@ -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(link, SIGNAL(deleteLink(LinkInterface* const)), this, SLOT(removeLink(LinkInterface* const)), Qt::UniqueConnection); + connect(link, SIGNAL(linkDeleted(LinkInterface* const)), this, SLOT(removeLink(LinkInterface* const)), Qt::UniqueConnection); } void DebugConsole::removeLink(LinkInterface* const linkInterface) diff --git a/src/ui/QGCToolBar.cc b/src/ui/QGCToolBar.cc index bca5dd8e9f37f7201a7787760630c4bc308d835e..9621b4a3e83180e720a83786f4ca8e080e87a378 100644 --- a/src/ui/QGCToolBar.cc +++ b/src/ui/QGCToolBar.cc @@ -219,7 +219,7 @@ void QGCToolBar::createUI() } connect(LinkManager::instance(), SIGNAL(newLink(LinkInterface*)), this, SLOT(addLink(LinkInterface*))); - connect(LinkManager::instance(), SIGNAL(linkRemoved(LinkInterface*)), this, SLOT(removeLink(LinkInterface*))); + connect(LinkManager::instance(), SIGNAL(linkDeleted(LinkInterface*)), this, SLOT(removeLink(LinkInterface*))); loadSettings(); diff --git a/src/ui/uas/UASListWidget.cc b/src/ui/uas/UASListWidget.cc index 681b38315bb38685ab776da265f668c09c08e084..c1017ec7ddab0751dd3fff525d29f1b756872811 100644 --- a/src/ui/uas/UASListWidget.cc +++ b/src/ui/uas/UASListWidget.cc @@ -63,7 +63,7 @@ UASListWidget::UASListWidget(QWidget *parent) : QWidget(parent), this->setVisible(false); - connect(LinkManager::instance(), SIGNAL(linkRemoved(LinkInterface*)), this, SLOT(removeLink(LinkInterface*))); + connect(LinkManager::instance(), SIGNAL(linkDeleted(LinkInterface*)), this, SLOT(removeLink(LinkInterface*))); // Listen for when UASes are added or removed. This does not manage the UASView // widgets that are displayed within this widget.