Commit b650b6e5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile against 5.15

parent 1089d229
......@@ -87,11 +87,7 @@ void LanguageToolResultJob::start()
void LanguageToolResultJob::slotFinish(QNetworkReply *reply)
{
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
if (reply->error() != QNetworkReply::NoError) {
#else
if (reply->networkError() != QNetworkReply::NoError) {
#endif
qCWarning(LOKALIZE_LOG) << " Error reply - "<<reply->errorString();
Q_EMIT error(reply->errorString());
}
......
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