Skip to content
Permalink
Browse files
Replaced qWarnings with QgsDebugMsg
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 ab993ecf870bfe09557d83d840a3a822601ac51a
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/core/gps/qgsnmeaconnection.cpp
@@ -74,7 +74,7 @@ void QgsNMEAConnection::parseData()
mStringBuffer.append( mSource->read( numBytes ) );
processStringBuffer();
emit stateChanged( mLastGPSInformation );
qWarning( mStringBuffer.toLocal8Bit().data() );
QgsDebugMsg( mStringBuffer );
}
}

@@ -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****************" );

0 comments on commit ab993ec

Please sign in to comment.