summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-08 13:22:03 +0200
committerMontel Laurent <[email protected]>2017-09-08 13:22:03 +0200
commit518e83f5636deac78fecb7c82cc07424858098a5 (patch)
treee4e9fbe839dd4d79cb368207428eb7c175b36023
parentecd0f24c4b92da075b8a5044a8f649cfa74f7011 (diff)
not necessary to use qWarning here
-rw-r--r--templateparser/src/templateparserextracthtmlinfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/templateparser/src/templateparserextracthtmlinfo.cpp b/templateparser/src/templateparserextracthtmlinfo.cpp
index 8adbcd1..610bbf7 100644
--- a/templateparser/src/templateparserextracthtmlinfo.cpp
+++ b/templateparser/src/templateparserextracthtmlinfo.cpp
@@ -62,7 +62,7 @@ void TemplateParserExtractHtmlInfo::start()
connect(mTemplateWebEngineView, &TemplateWebEngineView::loadContentDone, this, &TemplateParserExtractHtmlInfo::slotExtractToPlainTextFinished);
mTemplateWebEngineView->setHtmlContent(mHtmlForExtractingTextPlain);
} else {
- qCWarning(TEMPLATEPARSER_LOG) << "html string is empty for extracting to plainText";
+ qCDebug(TEMPLATEPARSER_LOG) << "html string is empty for extracting to plainText";
slotExtractToPlainTextFinished(false);
}
}
@@ -70,7 +70,7 @@ void TemplateParserExtractHtmlInfo::start()
void TemplateParserExtractHtmlInfo::slotExtractToPlainTextFinished(bool success)
{
if (!success) {
- qCWarning(TEMPLATEPARSER_LOG) << "Impossible to extract plaintext";
+ qCDebug(TEMPLATEPARSER_LOG) << "Impossible to extract plaintext";
} else {
mResult.mPlainText = mTemplateWebEngineView->plainText();
}
@@ -79,7 +79,7 @@ void TemplateParserExtractHtmlInfo::slotExtractToPlainTextFinished(bool success)
connect(mExtractHtmlElementWebEngineView, &TemplateExtractHtmlElementWebEngineView::loadContentDone, this, &TemplateParserExtractHtmlInfo::slotExtractHtmlElementFinished);
mExtractHtmlElementWebEngineView->setHtmlContent(mHtmlForExtractionHeaderAndBody);
} else {
- qCWarning(TEMPLATEPARSER_LOG) << "html string is empty for extracting to header and body";
+ qCDebug(TEMPLATEPARSER_LOG) << "html string is empty for extracting to header and body";
slotExtractHtmlElementFinished(false);
}
}
@@ -87,7 +87,7 @@ void TemplateParserExtractHtmlInfo::slotExtractToPlainTextFinished(bool success)
void TemplateParserExtractHtmlInfo::slotExtractHtmlElementFinished(bool success)
{
if (!success) {
- qCWarning(TEMPLATEPARSER_LOG) << "Impossible to extract html element";
+ qCDebug(TEMPLATEPARSER_LOG) << "Impossible to extract html element";
} else {
mResult.mBodyElement = mExtractHtmlElementWebEngineView->bodyElement();
mResult.mHeaderElement = mExtractHtmlElementWebEngineView->headerElement();