Changeset 1739 in ntrip


Ignore:
Timestamp:
Mar 6, 2009, 3:07:37 PM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r1738 r1739  
    958958  QStringList mountPoints;
    959959  for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) {
    960     QUrl url( "//" + _mountPointsTable->item(iRow, 0)->text() +
    961               "@"  + _mountPointsTable->item(iRow, 1)->text() );
    962 
    963     mountPoints.append(url.toString() + " " +
    964                        _mountPointsTable->item(iRow, 2)->text()
    965                + " " + _mountPointsTable->item(iRow, 3)->text()
    966                + " " + _mountPointsTable->item(iRow, 4)->text()
    967                + " " + _mountPointsTable->item(iRow, 5)->text()
    968                + " " + _mountPointsTable->item(iRow, 6)->text());
     960
     961    if (_mountPointsTable->item(iRow, 6)->text() != "S") {
     962      QUrl url( "//" + _mountPointsTable->item(iRow, 0)->text() +
     963                "@"  + _mountPointsTable->item(iRow, 1)->text() );
     964
     965      mountPoints.append(url.toString() + " " +
     966                         _mountPointsTable->item(iRow, 2)->text()
     967                 + " " + _mountPointsTable->item(iRow, 3)->text()
     968                 + " " + _mountPointsTable->item(iRow, 4)->text()
     969                 + " " + _mountPointsTable->item(iRow, 5)->text()
     970                 + " " + _mountPointsTable->item(iRow, 6)->text());
     971    } else {
     972      mountPoints.append(
     973                  "//" + _mountPointsTable->item(iRow, 1)->text()
     974                 + " " + _mountPointsTable->item(iRow, 2)->text()
     975                 + " " + _mountPointsTable->item(iRow, 3)->text()
     976                 + " " + _mountPointsTable->item(iRow, 4)->text()
     977                 + " " + _mountPointsTable->item(iRow, 5)->text()
     978                 + " " + _mountPointsTable->item(iRow, 6)->text());
     979    }
    969980  }
    970981
Note: See TracChangeset for help on using the changeset viewer.