Changeset 5103 in ntrip for trunk/GnssCenter/inpedit
- Timestamp:
- Apr 12, 2013, 4:46:27 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/inpedit/tabwidget.cpp
r5100 r5103 98 98 QTextStream out(&file); 99 99 for (int ii = 0; ii < _staticLines.size(); ii++) { 100 out << _staticLines[ii] << '\n'; 100 QString tLine = _staticLines[ii].trimmed(); 101 if (tLine.isEmpty() || tLine[0] == '!' || tLine[0] == '#') { 102 out << _staticLines[ii] << '\n'; 103 } 104 else { 105 if (_keywords.contains(tLine)) { 106 const t_keyword* keyword = _keywords[tLine]; 107 if (keyword) { 108 const QStringList& values = keyword->values(); 109 out << tLine << ' ' << values.size(); 110 if (values.size() != 1) { 111 out << '\n'; 112 } 113 for (int ii = 0; ii < values.size(); ii++) { 114 out << " \"" << values[ii] << "\"\n"; 115 } 116 } 117 } 118 } 101 119 } 102 120 }
Note:
See TracChangeset
for help on using the changeset viewer.