From 29d1ba18331bd5b31534283c8154f50276379191 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Mon, 20 Apr 2015 04:33:21 -0400 Subject: [PATCH] Build fix. I forgot an extra argument for debugging (and didn't have WarningsAsErrorsOn properly set) No idea how that emit qDebug ended up in there. --- src/ui/toolbar/MainToolBar.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/toolbar/MainToolBar.cc b/src/ui/toolbar/MainToolBar.cc index 864969654..a18960cb8 100644 --- a/src/ui/toolbar/MainToolBar.cc +++ b/src/ui/toolbar/MainToolBar.cc @@ -359,7 +359,7 @@ void MainToolBar::_setActiveUAS(UASInterface* active) emit mavPresentChanged(_mav != NULL); } -void MainToolBar::_telemetryChanged(LinkInterface*, unsigned, unsigned, unsigned rssi, unsigned foo, unsigned, unsigned, unsigned) +void MainToolBar::_telemetryChanged(LinkInterface*, unsigned, unsigned, unsigned rssi, unsigned, unsigned, unsigned, unsigned) { // We only care if we haveone single connection if(_connectionCount == 1) { @@ -467,7 +467,7 @@ void MainToolBar::_updateConnection(LinkInterface *disconnectedLink) } if(_connectionCount != 1 && _remoteRSSI > 0.0f) { _remoteRSSI = 0.0f; - emit qDebug(_remoteRSSI); + emit remoteRSSIChanged(_remoteRSSI); } } -- 2.22.0