Skip to content

Commit

Permalink
Replaced qWarnings with QgsDebugMsg
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12686 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 7, 2010
1 parent 426e3b3 commit ab993ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/gps/qgsnmeaconnection.cpp
Expand Up @@ -74,7 +74,7 @@ void QgsNMEAConnection::parseData()
mStringBuffer.append( mSource->read( numBytes ) );
processStringBuffer();
emit stateChanged( mLastGPSInformation );
qWarning( mStringBuffer.toLocal8Bit().data() );
QgsDebugMsg( mStringBuffer );
}
}

Expand Down Expand Up @@ -102,35 +102,35 @@ void QgsNMEAConnection::processStringBuffer()
QByteArray ba = substring.toLocal8Bit();
if ( substring.startsWith( "$GPGGA" ) )
{
qWarning( substring.toLocal8Bit().data() );
QgsDebugMsg( substring );
processGGASentence( ba.data(), ba.length() );
mStatus = GPSDataReceived;
QgsDebugMsg( "*******************GPS data received****************" );
}
else if ( substring.startsWith( "$GPRMC" ) )
{
qWarning( substring.toLocal8Bit().data() );
QgsDebugMsg( substring );
processRMCSentence( ba.data(), ba.length() );
mStatus = GPSDataReceived;
QgsDebugMsg( "*******************GPS data received****************" );
}
else if ( substring.startsWith( "$GPGSV" ) )
{
qWarning( substring.toLocal8Bit().data() );
QgsDebugMsg( substring );
processGSVSentence( ba.data(), ba.length() );
mStatus = GPSDataReceived;
QgsDebugMsg( "*******************GPS data received****************" );
}
else if ( substring.startsWith( "$GPVTG" ) )
{
qWarning( substring.toLocal8Bit().data() );
QgsDebugMsg( substring );
processVTGSentence( ba.data(), ba.length() );
mStatus = GPSDataReceived;
QgsDebugMsg( "*******************GPS data received****************" );
}
else if ( substring.startsWith( "$GPGSA" ) )
{
qWarning( substring.toLocal8Bit().data() );
QgsDebugMsg( substring );
processGSASentence( ba.data(), ba.length() );
mStatus = GPSDataReceived;
QgsDebugMsg( "*******************GPS data received****************" );
Expand Down

0 comments on commit ab993ec

Please sign in to comment.