From f3e8727d50b33358739031fa6c5a71530c93b793 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 26 Nov 2014 18:27:23 -0800 Subject: [PATCH] deleteLink signal changed to linkDeleted --- src/ui/DebugConsole.cc | 2 +- src/ui/QGCToolBar.cc | 2 +- src/ui/uas/UASListWidget.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/DebugConsole.cc b/src/ui/DebugConsole.cc index 857e64053..c5fd00298 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 bca5dd8e9..9621b4a3e 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 681b38315..c1017ec7d 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. -- 2.22.0