Changeset 514 in ntrip for trunk/BNC


Ignore:
Timestamp:
Oct 18, 2007, 11:11:28 AM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r513 r514  
    112112
    113113  msleep(100); //sleep 0.1 sec
     114
     115  // Initialize Socket
     116  // -----------------
     117  QString msg;
     118  _socket = bncGetThread::request(_mountPoint, _latitude, _longitude,
     119                                  _nmea, _timeOut, msg);
    114120}
    115121
     
    117123////////////////////////////////////////////////////////////////////////////
    118124bncGetThread::~bncGetThread() {
    119   if (_socket) {
    120     _socket->close();
    121     ////  delete _socket;  (a bug in Qt?)
    122   }
     125  delete _socket;
    123126  delete _decoder;
    124127}
     
    242245t_irc bncGetThread::initRun() {
    243246
    244   // Send the Request
    245   // ----------------
    246   QString msg;
    247 
    248   _socket = bncGetThread::request(_mountPoint, _latitude, _longitude, _nmea, _timeOut, msg);
    249 
    250   ////  emit(newMessage(msg.toAscii()));
    251 
    252247  if (!_socket) {
    253248    return failure;
Note: See TracChangeset for help on using the changeset viewer.