We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0941dd commit ce44811Copy full SHA for ce44811
src/core/gps/qgsgpsdconnection.cpp
@@ -41,7 +41,7 @@ void QgsGpsdConnection::connected()
41
{
42
QgsDebugMsg( "connected!" );
43
QTcpSocket *socket = qobject_cast< QTcpSocket * >( mSource );
44
- 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() );
45
}
46
47
void QgsGpsdConnection::error( QAbstractSocket::SocketError socketError )
0 commit comments