Skip to content
Permalink
Browse files
fix assertion in gps detector
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14340 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Oct 5, 2010
1 parent 5b4d73e commit ba27ce799fde305fbcb1751bfab2c4390a4ecef2
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 ba27ce7

Please sign in to comment.