1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

KDE: Hide purpose missing QJsonValue error

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2023-04-07 01:05:30 +02:00
parent 6431b4910a
commit 134b113304
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -68,6 +68,10 @@ void KDEFrameworksIntegrationPlugin::init(InitState state, const QString &settin
m_sharePageMenu = new Purpose::Menu();
m_sharePageMenu->setTitle(tr("Share page"));
m_sharePageMenu->setIcon(QIcon::fromTheme(QStringLiteral("document-share")));
m_sharePageMenu->model()->setInputData(QJsonObject{
{ QStringLiteral("urls"), QJsonArray {QJsonValue(QSL("falkon"))} },
{ QStringLiteral("title"), QJsonValue(QSL("falkon")) }
});
m_sharePageMenu->model()->setPluginType(QStringLiteral("ShareUrl"));
KAboutData aboutData(QSL("falkon"), QSL("Falkon"), QCoreApplication::applicationVersion());