Avoid 'Qt: Session management error'

This commit is contained in:
Philippe Teuwen 2020-10-17 00:29:53 +02:00
parent bb59250eca
commit 30fc549880

View file

@ -60,6 +60,7 @@ extern "C" void InitGraphics(int argc, char **argv, char *script_cmds_file, char
if (getenv("DISPLAY") == NULL)
return;
#endif
unsetenv("SESSION_MANAGER");
main_loop_thread = new WorkerThread(script_cmds_file, script_cmd, stayInCommandLoop);
gui = new ProxGuiQT(argc, argv, main_loop_thread);
}