Commit 29d1ba18 authored by dogmaphobic's avatar dogmaphobic

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.
parent aa2fbddc
...@@ -359,7 +359,7 @@ void MainToolBar::_setActiveUAS(UASInterface* active) ...@@ -359,7 +359,7 @@ void MainToolBar::_setActiveUAS(UASInterface* active)
emit mavPresentChanged(_mav != NULL); 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 // We only care if we haveone single connection
if(_connectionCount == 1) { if(_connectionCount == 1) {
...@@ -467,7 +467,7 @@ void MainToolBar::_updateConnection(LinkInterface *disconnectedLink) ...@@ -467,7 +467,7 @@ void MainToolBar::_updateConnection(LinkInterface *disconnectedLink)
} }
if(_connectionCount != 1 && _remoteRSSI > 0.0f) { if(_connectionCount != 1 && _remoteRSSI > 0.0f) {
_remoteRSSI = 0.0f; _remoteRSSI = 0.0f;
emit qDebug(_remoteRSSI); emit remoteRSSIChanged(_remoteRSSI);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment