- Timestamp:
- Dec 29, 2008, 2:09:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncnetqueryv1.cpp
r1390 r1402 39 39 //////////////////////////////////////////////////////////////////////////// 40 40 void bncNetQueryV1::stop() { 41 41 if (_socket) { 42 _socket->abort(); 43 } 42 44 } 43 45 44 46 // 45 47 //////////////////////////////////////////////////////////////////////////// 46 void bncNetQueryV1::waitForRequestResult(const QUrl& url, QByteArray& outData) {48 void bncNetQueryV1::waitForRequestResult(const QUrl&, QByteArray&) { 47 49 } 48 50 … … 50 52 //////////////////////////////////////////////////////////////////////////// 51 53 void bncNetQueryV1::waitForReadyRead(QByteArray& outData) { 52 54 if (_socket) { 55 if (_socket->waitForReadyRead()) { 56 outData = _socket->readAll(); 57 } 58 } 53 59 } 54 60
Note:
See TracChangeset
for help on using the changeset viewer.