Commit cc4f8f91 authored by Laurent Montel's avatar Laurent Montel 😁

Reactivate code

parent 2acaa099
......@@ -47,12 +47,10 @@ void WebEnginePartHtmlWriter::begin(const QString &css)
}
mEmbeddedPartMap.clear();
#if 0 //FIXME
// clear the widget:
mHtmlView->setUpdatesEnabled(false);
mHtmlView->scrollUp(10);
// PENDING(marc) push into MailWebView
#endif
mHtmlView->load(QUrl());
mState = Begun;
}
......@@ -71,9 +69,7 @@ void WebEnginePartHtmlWriter::end()
mHtml.clear();
resolveCidUrls();
#if 0 //FIXME
mHtmlView->scamCheck();
#endif
mHtmlView->setUpdatesEnabled(true);
mHtmlView->update();
mState = Ended;
......@@ -134,6 +130,8 @@ void WebEnginePartHtmlWriter::resolveCidUrls()
}
}
}
#else
qDebug() << "WebEnginePartHtmlWriter::resolveCidUrls() not implemented";
#endif
}
......
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