Changeset 7176 in ntrip for trunk/BNC/src/bnctabledlg.cpp


Ignore:
Timestamp:
Aug 7, 2015, 1:18:18 PM (9 years ago)
Author:
stuerze
Message:

country information from source table is added to have it available for RINEX v3 filenames

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnctabledlg.cpp

    r6960 r7176  
    291291      QStringList columns = lines[nRow].split(";");
    292292      for (int ic = 1; ic < columns.size(); ic++) {
    293         if (ic == 11) {
     293            if (ic == 11) {
    294294          if (columns[ic] == "0") {
    295295            columns[ic] = "no";
     
    373373  if (_table) {
    374374    for (int ir = 0; ir < _table->rowCount(); ir++) {
    375       QTableWidgetItem* item  = _table->item(ir,0);
     375      QTableWidgetItem*   item = _table->item(ir,0);
    376376      QString             site = _table->item(ir,0)->text();
    377377      QString           format = _table->item(ir,2)->text();
     378      QString          country = _table->item(ir,7)->text();
    378379      QString         latitude = _table->item(ir,8)->text();
    379380      QString        longitude = _table->item(ir,9)->text();
     
    382383      if (_table->isItemSelected(item)) {
    383384        url.setPath(item->text());
    384         mountPoints->push_back(url.toString() + " " + format + " " + latitude
     385        mountPoints->push_back(url.toString() + " " + format + " " + country + " " + latitude
    385386                        + " " + longitude + " " + nmea + " " + ntripVersion);
    386          
     387
    387388        site.resize(4);
    388389      }
Note: See TracChangeset for help on using the changeset viewer.