- Timestamp:
- Sep 11, 2014, 2:37:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6123 r6124 766 766 else { 767 767 for (int ii = 0; ii < useObsTypes.size(); ii++) { 768 QStringList hlp = useObsTypes[ii].split(":", QString::SkipEmptyParts); 769 if (hlp.size() == 2 && hlp[0].length() == 1) { 770 char sys = hlp[0][0].toAscii(); 771 QString type = hlp[1]; 772 _header._obsTypes[sys].push_back(type); 768 if (useObsTypes[ii].indexOf(":") != -1) { 769 QStringList hlp = useObsTypes[ii].split(":", QString::SkipEmptyParts); 770 if (hlp.size() == 2 && hlp[0].length() == 1) { 771 char sys = hlp[0][0].toAscii(); 772 QString type = hlp[1]; 773 _header._obsTypes[sys].push_back(type); 774 } 775 } 776 else { 777 QString type = useObsTypes[ii]; 778 for (int ii = 0; ii < t_rnxObsHeader::defaultSystems.length(); ii++) { 779 char sys = t_rnxObsHeader::defaultSystems[ii].toAscii(); 780 _header._obsTypes[sys].push_back(type); 781 } 773 782 } 774 783 }
Note:
See TracChangeset
for help on using the changeset viewer.