Changeset 1705 in ntrip
- Timestamp:
- Mar 4, 2009, 2:01:19 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r1560 r1705 109 109 _lastDumpSec = 0; 110 110 111 _conf Timer = 0;111 _confInterval = -1; 112 112 } 113 113 … … 457 457 int ms = 0; 458 458 459 if (_conf Timer) {459 if (_confInterval != -1) { 460 460 ms = 1000 * _confInterval; 461 461 } 462 462 else { 463 _confTimer = new QTimer();464 connect(_confTimer, SIGNAL(timeout()), this, SLOT(slotReadMountPoints()));465 466 463 QTime currTime = currentDateAndTimeGPS().time(); 467 464 QTime nextShotTime; … … 486 483 } 487 484 488 _confTimer->start(ms);485 QTimer::singleShot(ms, this, SLOT(slotReadMountPoints())); 489 486 } 490 487 -
trunk/BNC/bnccaster.h
r1556 r1705 75 75 long _waitTime; 76 76 QMutex _mutex; 77 QTimer* _confTimer;78 77 int _confInterval; 79 78 };
Note:
See TracChangeset
for help on using the changeset viewer.