diff options
-rw-r--r-- | src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp | 2 | ||||
-rw-r--r-- | src/xmlpatterns/api/qiodevicedelegate.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp b/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp index e25a9b6d..8abd99cc 100644 --- a/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp +++ b/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp @@ -124,7 +124,7 @@ QNetworkReply *AccelTreeResourceLoader::load(const QUrl &uri, request.setAttribute(QNetworkRequest::SynchronousRequestAttribute, true); QNetworkReply *const reply = networkManager->get(request); if (ftpSchemeUsed) { - ftpNetworkLoop.connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), SLOT(quit())); + ftpNetworkLoop.connect(reply, SIGNAL(errorOccurred(QNetworkReply::NetworkError)), SLOT(quit())); ftpNetworkLoop.connect(reply, SIGNAL(finished()), SLOT(quit())); ftpNetworkLoop.exec(QEventLoop::ExcludeUserInputEvents); } diff --git a/src/xmlpatterns/api/qiodevicedelegate.cpp b/src/xmlpatterns/api/qiodevicedelegate.cpp index d4049a53..3bba7676 100644 --- a/src/xmlpatterns/api/qiodevicedelegate.cpp +++ b/src/xmlpatterns/api/qiodevicedelegate.cpp @@ -80,7 +80,7 @@ QIODeviceDelegate::QIODeviceDelegate(QIODevice *const source) : m_source(source) void QIODeviceDelegate::networkTimeout() { setErrorString(QtXmlPatterns::tr("Network timeout.")); - error(QNetworkReply::TimeoutError); + errorOccurred(QNetworkReply::TimeoutError); } void QIODeviceDelegate::abort() |