From ab749f3d2999a3bd0b14d50d8b077e19608d5f8c Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 17 Oct 2020 11:48:23 +0200 Subject: [PATCH] unsetenv -> qunsetenv (thanks @libin-ka) --- client/src/proxgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/proxgui.cpp b/client/src/proxgui.cpp index cda746b9a..cec64d8be 100644 --- a/client/src/proxgui.cpp +++ b/client/src/proxgui.cpp @@ -60,7 +60,7 @@ extern "C" void InitGraphics(int argc, char **argv, char *script_cmds_file, char if (getenv("DISPLAY") == NULL) return; #endif - unsetenv("SESSION_MANAGER"); + qunsetenv("SESSION_MANAGER"); main_loop_thread = new WorkerThread(script_cmds_file, script_cmd, stayInCommandLoop); gui = new ProxGuiQT(argc, argv, main_loop_thread); }