summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/api/qiodevicedelegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/api/qiodevicedelegate.cpp')
-rw-r--r--src/xmlpatterns/api/qiodevicedelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/api/qiodevicedelegate.cpp b/src/xmlpatterns/api/qiodevicedelegate.cpp
index d4049a5..3bba767 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()