Skip to content
Permalink
Browse files

fix gpsd device selection

git-svn-id: http://svn.osgeo.org/qgis/trunk@14378 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Oct 13, 2010
1 parent 1684936 commit 12a404a625f846da43b5978203221c1cc21f34ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/gps/qgsgpsdconnection.cpp
@@ -41,7 +41,7 @@ void QgsGpsdConnection::connected()
{
QgsDebugMsg( "connected!" );
QTcpSocket *socket = qobject_cast< QTcpSocket * >( mSource );
socket->write( QString( "?WATCH={\"enable\":true,\"nmea\":true%1};" ).arg( mDevice.isEmpty() ? mDevice : QString( "\"device\":%1" ).arg( mDevice ) ).toUtf8() );
socket->write( QString( "?WATCH={\"enable\":true,\"nmea\":true%1};" ).arg( mDevice.isEmpty() ? mDevice : QString( ",\"device\":%1" ).arg( mDevice ) ).toUtf8() );
}

void QgsGpsdConnection::error( QAbstractSocket::SocketError socketError )

0 comments on commit 12a404a

Please sign in to comment.
You can’t perform that action at this time.