mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
KDE: Hide purpose missing QJsonValue error
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
6431b4910a
commit
134b113304
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user