[plasmawindowed] Pick up KQuickAddons::QtQuickSettings

Summary:
If having the need to use those settings with something else than the
default, one also expects the utils to follow those custom settings.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18625
parent 182ef20a
......@@ -14,6 +14,7 @@ target_link_libraries(
KF5::I18n
KF5::IconThemes
KF5::XmlGui
KF5::QuickAddons
KF5::PlasmaQuick
KF5::Plasma
KF5::DBusAddons
......
......@@ -23,6 +23,7 @@
#include <qcommandlineparser.h>
#include <qcommandlineoption.h>
#include <KQuickAddons/QtQuickSettings>
#include <KDBusService>
#include <KLocalizedString>
......@@ -41,6 +42,8 @@ int main(int argc, char **argv)
KDBusService service(KDBusService::Unique);
KQuickAddons::QtQuickSettings::init();
QCommandLineParser parser;
parser.setApplicationDescription(i18n("Plasma Windowed"));
parser.addOption(QCommandLineOption(QStringLiteral("statusnotifier"), i18n("Makes the plasmoid stay alive in the Notification Area, even when the window is closed.")));
......
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