mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix gpsd device selection
git-svn-id: http://svn.osgeo.org/qgis/trunk@14378 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
1684936b25
commit
12a404a625
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user