archrelease: copy trunk to extra-x86_64
[arch-packages.git] / sddm / trunk / sddm-no-portal.patch
blob1e4fd38bb710f30a3d7a2ecaed3e9de6baca14f8
1 diff --git a/src/greeter/GreeterApp.cpp b/src/greeter/GreeterApp.cpp
2 index bbce512..183f7d1 100644
3 --- a/src/greeter/GreeterApp.cpp
4 +++ b/src/greeter/GreeterApp.cpp
5 @@ -334,6 +334,9 @@ int main(int argc, char **argv)
6 QSurfaceFormat::setDefaultFormat(format);
9 + // Qt internally may load the xdg portal system early on, prevent this, we do not have a functional session running.
10 + qputenv("QT_NO_XDG_DESKTOP_PORTAL", "1");
12 QGuiApplication app(argc, argv);
14 QCommandLineParser parser;