Changeset 1703 in ntrip
- Timestamp:
- Mar 4, 2009, 1:31:09 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncnetqueryv2.cpp
r1702 r1703 56 56 // Error 57 57 //////////////////////////////////////////////////////////////////////////// 58 void bncNetQueryV2::slotError( QNetworkReply::NetworkError) {58 void bncNetQueryV2::slotError() { 59 59 _eventLoop->quit(); 60 60 _status = error; 61 62 61 emit newMessage(_url.path().toAscii().replace(0,1,"") + 63 62 ": NetQuery, Error - server replied: " + … … 143 142 } 144 143 connect(_reply, SIGNAL(error(QNetworkReply::NetworkError)), 145 this, SLOT(slotError( QNetworkReply::NetworkError)));144 this, SLOT(slotError())); 146 145 } 147 146 … … 177 176 if (_reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() != 200) { 178 177 _reply->abort(); 179 slotError(QNetworkReply::UnknownNetworkError);180 178 } 181 179 -
trunk/BNC/bncnetqueryv2.h
r1583 r1703 17 17 18 18 private slots: 19 void slotError( QNetworkReply::NetworkError);19 void slotError(); 20 20 void slotFinished(); 21 21 void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*);
Note:
See TracChangeset
for help on using the changeset viewer.