mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Avoid duplicate debug output from GPS module
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7fa25de58a
commit
fb26f6b0fa
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue