Changeset 1705 in ntrip


Ignore:
Timestamp:
Mar 4, 2009, 2:01:19 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r1560 r1705  
    109109  _lastDumpSec   = 0;
    110110
    111   _confTimer = 0;
     111  _confInterval = -1;
    112112}
    113113
     
    457457  int ms = 0;
    458458
    459   if (_confTimer) {
     459  if (_confInterval != -1) {
    460460    ms = 1000 * _confInterval;
    461461  }
    462462  else {
    463     _confTimer = new QTimer();
    464     connect(_confTimer, SIGNAL(timeout()), this, SLOT(slotReadMountPoints()));
    465 
    466463    QTime currTime = currentDateAndTimeGPS().time();
    467464    QTime nextShotTime;
     
    486483  }
    487484
    488   _confTimer->start(ms);
     485  QTimer::singleShot(ms, this, SLOT(slotReadMountPoints()));
    489486}
    490487
  • trunk/BNC/bnccaster.h

    r1556 r1705  
    7575   long                    _waitTime;
    7676   QMutex                  _mutex;
    77    QTimer*                 _confTimer;
    7877   int                     _confInterval;
    7978};
Note: See TracChangeset for help on using the changeset viewer.