Changeset 7520 in ntrip
- Timestamp:
- Oct 19, 2015, 12:48:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppRun.cpp
r7506 r7520 159 159 bool v3filenames = settings.value("PPP/v3filenames").toBool(); 160 160 QString logFileSkl = settings.value("PPP/logPath").toString(); 161 int l = logFileSkl.length(); 161 162 if (logFileSkl.isEmpty()) { 162 163 _logFile = 0; 163 164 } 164 165 else { 166 if (l && logFileSkl[l-1] != QDir::separator() ) { 167 logFileSkl += QDir::separator(); 168 } 165 169 if (v3filenames) { 166 170 logFileSkl = logFileSkl + fullRoverName + "${V3}" + ".ppp"; … … 173 177 174 178 QString nmeaFileSkl = settings.value("PPP/nmeaPath").toString(); 179 l = nmeaFileSkl.length(); 175 180 if (nmeaFileSkl.isEmpty()) { 176 181 _nmeaFile = 0; 177 182 } 178 183 else { 184 if (l > 0 && nmeaFileSkl[l-1] != QDir::separator() ) { 185 nmeaFileSkl += QDir::separator(); 186 } 179 187 if (v3filenames) { 180 188 nmeaFileSkl = nmeaFileSkl + fullRoverName + "${V3}" + ".nmea"; … … 187 195 188 196 QString snxtroFileSkl = settings.value("PPP/snxtroPath").toString(); 197 l = snxtroFileSkl.length(); 189 198 if (snxtroFileSkl.isEmpty()) { 190 199 _snxtroFile = 0; 191 200 } 192 201 else { 202 if (l > 0 && snxtroFileSkl[l-1] != QDir::separator() ) { 203 snxtroFileSkl += QDir::separator(); 204 } 193 205 if (v3filenames) { 194 206 snxtroFileSkl = snxtroFileSkl + fullRoverName + "${V3}" + ".tra";
Note:
See TracChangeset
for help on using the changeset viewer.