- Timestamp:
- Feb 4, 2011, 11:48:02 AM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2911 r2966 89 89 connect(_model, SIGNAL(newNMEAstr(QByteArray)), 90 90 this, SIGNAL(newNMEAstr(QByteArray))); 91 92 _pppCorrMountpoint = settings.value("pppCorrMountpoint").toString(); 91 93 } 92 94 … … 260 262 void bncPPPclient::slotNewCorrections(QList<QString> corrList) { 261 263 QMutexLocker locker(&_mutex); 264 265 // Check the Mountpoint (source of corrections) 266 // -------------------------------------------- 267 if (_pppCorrMountpoint.isEmpty() ) { 268 QMutableListIterator<QString> itm(corrList); 269 while (itm.hasNext()) { 270 QStringList hlp = itm.next().split(" "); 271 if (hlp.size() > 0) { 272 QString mountpoint = hlp[hlp.size()-1]; 273 if (mountpoint != _pppCorrMountpoint) { 274 itm.remove(); 275 } 276 } 277 } 278 } 262 279 263 280 if (corrList.size() == 0) { -
trunk/BNC/bncpppclient.h
r2905 r2966 154 154 bool _pppMode; 155 155 QMap<QString, slipInfo> _slips; 156 QString _pppCorrMountpoint; 156 157 }; 157 158
Note:
See TracChangeset
for help on using the changeset viewer.