aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index a4980140..29bb9564 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -198,7 +198,7 @@ void Connection::doConnectToServer(const QString& user, const QString& password,
});
connect(loginJob, &BaseJob::failure, this,
[this, loginJob] {
- emit loginError(loginJob->errorString(), loginJob->errorRawData());
+ emit loginError(loginJob->errorString(), loginJob->rawData());
});
}
@@ -274,7 +274,7 @@ void Connection::sync(int timeout)
connect( job, &SyncJob::retryScheduled, this,
[this,job] (int retriesTaken, int nextInMilliseconds)
{
- emit networkError(job->errorString(), job->errorRawData(),
+ emit networkError(job->errorString(), job->rawData(),
retriesTaken, nextInMilliseconds);
});
connect( job, &SyncJob::failure, this, [this, job] {
@@ -283,10 +283,10 @@ void Connection::sync(int timeout)
{
qCWarning(SYNCJOB)
<< "Sync job failed with ContentAccessError - login expired?";
- emit loginError(job->errorString(), job->errorRawData());
+ emit loginError(job->errorString(), job->rawData());
}
else
- emit syncError(job->errorString(), job->errorRawData());
+ emit syncError(job->errorString(), job->rawData());
});
}