Commit 62eebbc0 authored by Laurent Montel's avatar Laurent Montel 😁

Merge remote-tracking branch 'origin/release/20.08'

parents fa24cd9b 0016b338
Pipeline #27390 passed with stage
in 7 minutes and 29 seconds
......@@ -41,6 +41,7 @@ using namespace Kontact;
#include <KontactInterface/Core>
#include <QWebEngineUrlScheme>
#include <QStatusBar>
#include <KWindowConfig>
#include <KXMLGUIFactory>
......@@ -84,6 +85,10 @@ using namespace Kontact;
MainWindow::MainWindow()
: KontactInterface::Core()
{
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