Changeset 8936 in ntrip for trunk/BNC/src/bncrinex.cpp
- Timestamp:
- May 22, 2020, 10:24:33 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r8792 r8936 217 217 // Read the local file 218 218 // ------------------- 219 QFile skl(_ sklName);219 QFile skl(_localSklName), sklAlt(_localSklNameAlternative); 220 220 if ( skl.exists() && skl.open(QIODevice::ReadOnly) ) { 221 221 QTextStream in(&skl); 222 if (_sklHeader.read(&in) == success) { 223 readDone = true; 224 } 225 } else if ( sklAlt.exists() && sklAlt.open(QIODevice::ReadOnly) ) { 226 QTextStream in(&sklAlt); 222 227 if (_sklHeader.read(&in) == success) { 223 228 readDone = true; … … 372 377 QString sklExt = settings.value("rnxSkel").toString(); 373 378 if (!sklExt.isEmpty()) { 374 _sklName = path + ID + distStr + "." + sklExt; 379 _localSklName = path + ID + distStr + "." + sklExt; 380 _localSklNameAlternative = path + ID.toLower() + distStr + "." + sklExt; 375 381 } 376 382
Note:
See TracChangeset
for help on using the changeset viewer.