Web lists-archives.com

Re: How do I stop my PyQt programs canceling shutdown?




On Sunday, 27 August 2017 08:33:58 PDT Barry Scott wrote:
> I have 2 PyQt programs that if I leave running and then tell
> Plasma to shutdown will give me a notification that shutdown
> has been canceled.
> 
> I'm not aware of adding code to cancel a shutdown. Do you know
> where I should look to fix this?

That's caused by session management, but that's all I know. If you don't have 
code to handle session saving and restoring, add it to your program.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center