Changeset 1744 in ntrip for trunk/BNC/bncserialport.cpp


Ignore:
Timestamp:
Mar 7, 2009, 1:59:43 PM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncserialport.cpp

    r1737 r1744  
    170170       !_serialLatLineEdit->text().isEmpty() &&
    171171       !_serialLonLineEdit->text().isEmpty() ) {
    172     mountPoints->push_back("//" + _serialDataBits + "-"
    173                                 + _serialParity + "-"
    174                                 + _serialStopBits + "-"
    175                                 + _serialFlowControl + "-"
    176                                 + _serialPortLineEdit->text().replace("/","-").replace(QRegExp("^[-]"), "") + ":"
    177                                 + _serialBaudRate + "/"
    178                                 + _serialMountpointLineEdit->text() + " "
    179                                 + _serialFormatLineEdit->text() + " "
    180                                 + _serialLatLineEdit->text() + " "
    181                                 + _serialLonLineEdit->text() + " "
    182                                 + "no S");
     172    mountPoints->push_back("//"
     173      + _serialPortLineEdit->text().replace("/","-").replace(QRegExp("^[-]"), "") + "-"
     174      + _serialDataBits + "-"
     175      + _serialParity + "-"
     176      + _serialStopBits + "-"
     177      + _serialFlowControl + "-"
     178      + _serialBaudRate + "/"
     179      + _serialMountpointLineEdit->text() + " "
     180      + _serialFormatLineEdit->text() + " "
     181      + _serialLatLineEdit->text() + " "
     182      + _serialLonLineEdit->text() + " "
     183      + "no S");
    183184  } else {
    184185   QMessageBox::warning(this, tr("Warning"),
Note: See TracChangeset for help on using the changeset viewer.