Changeset 4090 in ntrip
- Timestamp:
- Apr 30, 2012, 8:19:23 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/reqcedit.cpp
r4081 r4090 179 179 QString oldMarkerName = settings.value("reqcOldMarkerName").toString(); 180 180 QString newMarkerName = settings.value("reqcNewMarkerName").toString(); 181 if (oldMarkerName.isEmpty() || 182 QRegExp(oldMarkerName).exactMatch(obsFile.markerName())) { 183 obsFile.setMarkerName(newMarkerName); 181 if (!newMarkerName.isEmpty()) { 182 if (oldMarkerName.isEmpty() || 183 QRegExp(oldMarkerName).exactMatch(obsFile.markerName())) { 184 obsFile.setMarkerName(newMarkerName); 185 } 184 186 } 185 187 186 188 QString oldAntennaName = settings.value("reqcOldAntennaName").toString(); 187 189 QString newAntennaName = settings.value("reqcNewAntennaName").toString(); 188 if (oldAntennaName.isEmpty() || 189 QRegExp(oldAntennaName).exactMatch(obsFile.antennaName())) { 190 obsFile.setAntennaName(newAntennaName); 190 if (!newAntennaName.isEmpty()) { 191 if (oldAntennaName.isEmpty() || 192 QRegExp(oldAntennaName).exactMatch(obsFile.antennaName())) { 193 obsFile.setAntennaName(newAntennaName); 194 } 191 195 } 192 196 193 197 QString oldReceiverType = settings.value("reqcOldReceiverName").toString(); 194 198 QString newReceiverType = settings.value("reqcNewReceiverName").toString(); 195 if (oldReceiverType.isEmpty() || 196 QRegExp(oldReceiverType).exactMatch(obsFile.receiverType())) { 197 obsFile.setReceiverType(newReceiverType); 199 if (!newReceiverType.isEmpty()) { 200 if (oldReceiverType.isEmpty() || 201 QRegExp(oldReceiverType).exactMatch(obsFile.receiverType())) { 202 obsFile.setReceiverType(newReceiverType); 203 } 198 204 } 199 205 }
Note:
See TracChangeset
for help on using the changeset viewer.