Changeset 4493 in ntrip for trunk/BNC/src/rinex/rnxobsfile.cpp
- Timestamp:
- Aug 4, 2012, 9:21:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r4484 r4493 210 210 bncApp* app = (bncApp*) qApp; 211 211 212 QStringList newComments; 212 213 QString runBy = app->userName(); 213 QStringList comments;214 214 215 215 if (txtMap) { … … 221 221 } 222 222 else if (it.key() == "COMMENT") { 223 comments = it.value().split("\\n", QString::SkipEmptyParts);223 newComments = it.value().split("\\n", QString::SkipEmptyParts); 224 224 } 225 225 } … … 240 240 << "PGM / RUN BY / DATE\n"; 241 241 242 QStringListIterator itCmnt( comments);242 QStringListIterator itCmnt(_comments + newComments); 243 243 while (itCmnt.hasNext()) { 244 244 *stream << itCmnt.next().trimmed().left(60).leftJustified(60) << "COMMENT\n";
Note:
See TracChangeset
for help on using the changeset viewer.