Avoid duplicate debug output from GPS module

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-09-25 09:37:22 -07:00
parent 7fa25de58a
commit fb26f6b0fa

View file

@ -200,9 +200,10 @@ void GpsLocation::positionSourceError(QGeoPositionInfoSource::Error)
void GpsLocation::status(QString msg)
{
qDebug() << msg;
if (showMessageCB)
(*showMessageCB)(qPrintable(msg));
else
qDebug() << msg;
}
int GpsLocation::getGpsNum() const