diff --git a/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp b/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp index 87587d212..5e8ade759 100644 --- a/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp +++ b/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp @@ -35,6 +35,7 @@ #include #include +#include KDEFrameworksIntegrationPlugin::KDEFrameworksIntegrationPlugin() : QObject() @@ -96,7 +97,7 @@ void KDEFrameworksIntegrationPlugin::populateWebViewMenu(QMenu *menu, WebView *v Q_UNUSED(r) m_sharePageMenu->model()->setInputData(QJsonObject{ - { QStringLiteral("urls"), QJsonValue(view->url().toString()) }, + { QStringLiteral("urls"), QJsonArray {QJsonValue(view->url().toString())} }, { QStringLiteral("title"), QJsonValue(view->title()) } }); m_sharePageMenu->reload();