Commit d2f1f276 authored by Don Gagne's avatar Don Gagne

parent 28a03325
......@@ -136,5 +136,11 @@ void QGCPositionManager::setPositionSource(QGCPositionManager::QGCPositionSource
void QGCPositionManager::_error(QGeoPositionInfoSource::Error positioningError)
{
qWarning() << "QGCPositionManager error" << positioningError;
QGeoPositionInfoSource* source = qobject_cast<QGeoPositionInfoSource*>(sender());
if (source && qgcApp()->runningUnitTests() && source->sourceName() == "serialnmea") {
// We don't want unit tests run in the cloud which has no WiFi to pop a qWarning
qDebug() << "QGCPositionManager error" << positioningError;
} else {
qWarning() << "QGCPositionManager error" << positioningError;
}
}
......@@ -1136,7 +1136,7 @@ QGCCacheWorker::_lookupReady(QHostInfo info)
return;
}
}
qWarning() << "No Internet Access";
qDebug() << "No Internet Access";
emit internetStatus(false);
#endif
}
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