- Timestamp:
- Oct 18, 2006, 4:16:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r256 r257 86 86 //////////////////////////////////////////////////////////////////////////// 87 87 void bncCaster::newObs(const QByteArray& staID, const QUrl& mountPoint, 88 Observation* obs) {88 bool firstObs, Observation* obs) { 89 89 90 90 QMutexLocker locker(&_mutex); … … 117 117 // ---------------------------------- 118 118 if (newTime <= _lastDumpSec) { 119 QSettings settings; 120 if ( !settings.value("outFile").toString().isEmpty() || 121 !settings.value("outPort").toString().isEmpty() ) { 122 emit( newMessage(QString("Station %1: old epoch %2 thrown away" 123 "(newTime = %3 lastDump = %4)") 124 .arg(staID.data()).arg(iSec).arg(newTime).arg(_lastDumpSec).toAscii()) ); 119 if (firstObs) { 120 QSettings settings; 121 if ( !settings.value("outFile").toString().isEmpty() || 122 !settings.value("outPort").toString().isEmpty() ) { 123 emit( newMessage(QString("Station %1: old epoch %2 thrown away" 124 "(newTime = %3 lastDump = %4)") 125 .arg(staID.data()).arg(iSec).arg(newTime).arg(_lastDumpSec).toAscii()) ); 126 } 125 127 } 126 128 delete obs;
Note:
See TracChangeset
for help on using the changeset viewer.