Commit 5551947c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files


parent 8421b8e9
......@@ -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;
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