summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-04-01 16:44:10 +0200
committerMontel Laurent <[email protected]>2016-04-01 16:44:10 +0200
commit5551947c94e32fb0ad9fe02164431e8ceb98505e (patch)
tree48071aa48b7b8ce0c8ca40875f914e8be2e943c9
parent8421b8e9a017137e48c6103d9f2c2acaf06f04f4 (diff)
Debug--
-rw-r--r--messageviewer/src/viewer/webengine/cidreferencesurlinterceptor/cidreferencesurlinterceptor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/messageviewer/src/viewer/webengine/cidreferencesurlinterceptor/cidreferencesurlinterceptor.cpp b/messageviewer/src/viewer/webengine/cidreferencesurlinterceptor/cidreferencesurlinterceptor.cpp
index b2a3689..9e054b3 100644
--- a/messageviewer/src/viewer/webengine/cidreferencesurlinterceptor/cidreferencesurlinterceptor.cpp
+++ b/messageviewer/src/viewer/webengine/cidreferencesurlinterceptor/cidreferencesurlinterceptor.cpp
@@ -35,12 +35,12 @@ CidReferencesUrlInterceptor::~CidReferencesUrlInterceptor()
bool CidReferencesUrlInterceptor::interceptRequest(QWebEngineUrlRequestInfo &info)
{
- qDebug()<<" info.requestUrl().scheme()"<<info.requestUrl().scheme();
+ //qDebug()<<" info.requestUrl().scheme()"<<info.requestUrl().scheme();
if (info.requestUrl().scheme() == QLatin1String("cid")) {
- qDebug() << "cid requested "<<info.requestUrl();
+ //qDebug() << "cid requested "<<info.requestUrl();
const QString newUrl = MessageViewer::WebEngineEmbedPart::self()->contentUrl(info.requestUrl().path());
if (!newUrl.isEmpty()) {
- qDebug()<<" newUrl "<<newUrl;
+ //qDebug()<<" newUrl "<<newUrl;
info.redirect(QUrl(newUrl));
}
}