qgsgpsinformationwidget.diff

Thomas Arnold, 2012-03-19 12:17 AM

Download (465 Bytes)

View differences:

318 318
{
319 319
  QString port;
320 320

  
321 321
  if ( mRadUserPath->isChecked() )
322 322
  {
323
    port = mCboDevices->currentText();
323
	port = mCboDevices->itemData(mCboDevices->currentIndex()).toString();
324 324

  
325 325
    if ( port.isEmpty() )
326 326
    {
327 327
      QMessageBox::information( this, tr( "/gps" ), tr( "No path to the GPS port "
328 328
                                "is specified. Please enter a path then try again." ) );
329 329