Commit 23c30cfb authored by Eike Hein's avatar Eike Hein

Don't load KDE platform module in xembedsniproxy

xembedsniproxy doesn't do anything that requires it to be
aware of KDE GUI settings (colors, style, standard keys, etc).

This makes it start a fair bit faster.

Reviewers: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent d5150eef
......@@ -41,6 +41,8 @@ int main(int argc, char ** argv)
//if the QPA can't load xcb, this app is useless anyway.
qputenv("QT_QPA_PLATFORM", "xcb");
QGuiApplication app(argc, argv);
if (!KWindowSystem::isPlatformX11()) {
......@@ -53,8 +55,6 @@ int main(int argc, char ** argv)
QObject::connect(&app, &QGuiApplication::commitDataRequest, disableSessionManagement);
QObject::connect(&app, &QGuiApplication::saveStateRequest, disableSessionManagement);
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