x11: Don't force QT_QPA_PLATFORM=xcb
This is basically a cherry pick of 77ec43d5e
(Don't force
QT_QPA_PLATFORM=wayland), except for X11.
This commit is contained in:
parent
c2b4f03f96
commit
a9acef8573
1 changed files with 2 additions and 0 deletions
|
@ -362,6 +362,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
KWin::ApplicationX11 a(argc, argv);
|
||||
a.setupTranslator();
|
||||
// reset QT_QPA_PLATFORM so we don't propagate it to our children (e.g. apps launched from the overview effect)
|
||||
qunsetenv("QT_QPA_PLATFORM");
|
||||
|
||||
KSignalHandler::self()->watchSignal(SIGTERM);
|
||||
KSignalHandler::self()->watchSignal(SIGINT);
|
||||
|
|
Loading…
Reference in a new issue