Commit 6149a001 authored by Laurent Montel's avatar Laurent Montel 😁

Add comment about cid

parent 62eebbc0
Pipeline #27406 passed with stage
in 14 minutes and 13 seconds
......@@ -85,10 +85,12 @@ using namespace Kontact;
MainWindow::MainWindow()
: KontactInterface::Core()
{
//Necessary for "cid" support in kmail.
QWebEngineUrlScheme cidScheme("cid");
cidScheme.setFlags(QWebEngineUrlScheme::SecureScheme | QWebEngineUrlScheme::ContentSecurityPolicyIgnored);
cidScheme.setSyntax(QWebEngineUrlScheme::Syntax::Path);
QWebEngineUrlScheme::registerScheme(cidScheme);
QDBusConnection::sessionBus().registerObject(
QStringLiteral("/KontactInterface"), this, QDBusConnection::ExportScriptableSlots);
......
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