mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 18:12:34 +08:00
Avoid 'Qt: Session management error'
This commit is contained in:
parent
bb59250eca
commit
30fc549880
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue