Avoid duplicate debug output from GPS module
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7fa25de58a
commit
fb26f6b0fa
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user