Skip to content
Permalink
Browse files

fix assertion in gps detector

git-svn-id: http://svn.osgeo.org/qgis/trunk@14340 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Oct 5, 2010
1 parent 9f79f6f commit dd7df1801a51caeb8ecc3bd5e26098d8edd39be3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/gps/qgsgpsdetector.cpp
@@ -143,7 +143,7 @@ void QgsGPSDetector::advance()

QStringList gpsParams = mPortList[ mPortIndex ].first.split( ":" );

Q_ASSERT( gpsParams.size() == 3 );
Q_ASSERT( gpsParams.size() >= 3 );

mConn = new QgsGpsdConnection( gpsParams[0], gpsParams[1].toInt(), gpsParams[2] );
}

0 comments on commit dd7df18

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