- Timestamp:
- Oct 18, 2007, 11:11:28 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r513 r514 112 112 113 113 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); 114 120 } 115 121 … … 117 123 //////////////////////////////////////////////////////////////////////////// 118 124 bncGetThread::~bncGetThread() { 119 if (_socket) { 120 _socket->close(); 121 //// delete _socket; (a bug in Qt?) 122 } 125 delete _socket; 123 126 delete _decoder; 124 127 } … … 242 245 t_irc bncGetThread::initRun() { 243 246 244 // Send the Request245 // ----------------246 QString msg;247 248 _socket = bncGetThread::request(_mountPoint, _latitude, _longitude, _nmea, _timeOut, msg);249 250 //// emit(newMessage(msg.toAscii()));251 252 247 if (!_socket) { 253 248 return failure;
Note:
See TracChangeset
for help on using the changeset viewer.