Changeset 1703 in ntrip


Ignore:
Timestamp:
Mar 4, 2009, 1:31:09 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryv2.cpp

    r1702 r1703  
    5656// Error
    5757////////////////////////////////////////////////////////////////////////////
    58 void bncNetQueryV2::slotError(QNetworkReply::NetworkError) {
     58void bncNetQueryV2::slotError() {
    5959  _eventLoop->quit();
    6060  _status = error;
    61 
    6261  emit newMessage(_url.path().toAscii().replace(0,1,"")  +
    6362                  ": NetQuery, Error - server replied: " +
     
    143142  }
    144143  connect(_reply, SIGNAL(error(QNetworkReply::NetworkError)),
    145           this, SLOT(slotError(QNetworkReply::NetworkError)));
     144          this, SLOT(slotError()));
    146145}
    147146
     
    177176  if (_reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() != 200) {
    178177    _reply->abort();
    179     slotError(QNetworkReply::UnknownNetworkError);
    180178  }
    181179
  • trunk/BNC/bncnetqueryv2.h

    r1583 r1703  
    1717
    1818 private slots:
    19   void slotError(QNetworkReply::NetworkError);
     19  void slotError();
    2020  void slotFinished();
    2121  void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*);
Note: See TracChangeset for help on using the changeset viewer.