Skip to content

Commit dd7df18

Browse files
author
jef
committedOct 5, 2010
fix assertion in gps detector
git-svn-id: http://svn.osgeo.org/qgis/trunk@14340 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9f79f6f commit dd7df18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/gps/qgsgpsdetector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void QgsGPSDetector::advance()
143143

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

146-
Q_ASSERT( gpsParams.size() == 3 );
146+
Q_ASSERT( gpsParams.size() >= 3 );
147147

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

0 commit comments

Comments
 (0)
Please sign in to comment.