Browse Source

deleteLink signal changed to linkDeleted

QGC4.4
Don Gagne 11 years ago
parent
commit
f3e8727d50
  1. 2
      src/ui/DebugConsole.cc
  2. 2
      src/ui/QGCToolBar.cc
  3. 2
      src/ui/uas/UASListWidget.cc

2
src/ui/DebugConsole.cc

@ -183,7 +183,7 @@ void DebugConsole::addLink(LinkInterface* link) @@ -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)

2
src/ui/QGCToolBar.cc

@ -219,7 +219,7 @@ void QGCToolBar::createUI() @@ -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();

2
src/ui/uas/UASListWidget.cc

@ -63,7 +63,7 @@ UASListWidget::UASListWidget(QWidget *parent) : QWidget(parent), @@ -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.

Loading…
Cancel
Save