summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-18 15:17:07 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-18 15:17:07 (GMT)
commit2c0e33bb07986a8c333b1856101037c2366b528d (patch)
treee0908c0fa09295a74c854f82304a4c3549c026a8
parentae3fff46ca5a00ffbafe93ad724c011627ba1a59 (diff)
Use qCWarning
-rw-r--r--webengineviewer/src/checkphishingurl/checkphishingurljob.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/webengineviewer/src/checkphishingurl/checkphishingurljob.cpp b/webengineviewer/src/checkphishingurl/checkphishingurljob.cpp
index 6fe69ef..371e56c 100644
--- a/webengineviewer/src/checkphishingurl/checkphishingurljob.cpp
+++ b/webengineviewer/src/checkphishingurl/checkphishingurljob.cpp
@@ -133,7 +133,6 @@ void CheckPhishingUrlJob::start()
} else if (canStart()) {
QUrl safeUrl = QUrl(QStringLiteral("https://safebrowsing.googleapis.com/v4/threatMatches:find"));
safeUrl.addQueryItem(QStringLiteral("key"), WebEngineViewer::CheckPhishingUrlUtil::apiKey());
- //qDebug() << " safeUrl" << safeUrl;
QNetworkRequest request(safeUrl);
request.setHeader(QNetworkRequest::ContentTypeHeader, QStringLiteral("application/json"));
@@ -153,7 +152,7 @@ void CheckPhishingUrlJob::start()
void CheckPhishingUrlJob::slotError(QNetworkReply::NetworkError error)
{
QNetworkReply *reply = qobject_cast<QNetworkReply *>(sender());
- qWarning() << " error " << error << " error string : " << reply->errorString();
+ qCWarning(WEBENGINEVIEWER_LOG) << " error " << error << " error string : " << reply->errorString();
reply->deleteLater();
deleteLater();
}