[plasmoidviewer] 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/D18626
parent 47e4fa8e
......@@ -32,6 +32,7 @@
#include <KAboutData>
#include <KLocalizedString>
#include <KDBusService>
#include <KQuickAddons/QtQuickSettings>
#include <qcommandlineparser.h>
#include <qcommandlineoption.h>
......@@ -92,6 +93,7 @@ int main(int argc, char **argv)
parser.process(app);
KDBusService service(KDBusService::Multiple);
KQuickAddons::QtQuickSettings::init();
const QString applet = parser.value("applet");
if (applet.isEmpty()) {
......
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