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 committed Oct 5, 2010
1 parent 9f79f6f commit dd7df18
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.