From 5ca8c0bc4e7e2f3af9a8d91d00ad11329a7cab8a Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Mon, 23 Mar 2020 12:58:57 +0100 Subject: qtxmlpatterns: use the proper signal instead of the deprecated one MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-82605 Change-Id: Iebd40c2683d9dbf21975c1e53506963bc40ac1cc Reviewed-by: MÃ¥rten Nordheim --- src/xmlpatterns/api/qiodevicedelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmlpatterns/api') 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() -- cgit v1.2.1