Commit 6d26db70 authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Undo switch to networkError() getter

Summary: The change was reverted in qtnetwork.

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision:
parent 48f487f0
......@@ -166,11 +166,7 @@ void EventFetchJob::start()
ObjectsList EventFetchJob::handleReplyWithItems(const QNetworkReply *reply, const QByteArray& rawData)
if (reply->error() == QNetworkReply::ContentGoneError
if (reply->networkError() == QNetworkReply::ContentGoneError
|| reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() == Gone) {
// Full sync required by server, redo request with no updatedMin
d->updatedTimestamp = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment