Hi guys,<br><br>I am having some problems with closeEvent having setQuitOnLastWindowClosed(False) on main().<br>When i connect to close() (from my systray) it only hides my application.<br>For that, a temporal fix for me was inserting on the closeEvent: sys.exit() but, now that i am implementing QSettings to store the windows position, is a problem... since that does not work if i use sys.exit() method.<br>
<br>Now, why i use setQuitOnLastWindowClosed(False)? cause i want to prevent User to close the app. pressing alt+f4. I&#39;ve tried to use a keys events and ignoring those keys combination, but didnt worked.<br><br>So, how can i close my application then?<br>
<br>Cheers.<br clear="all"><br>-- <br>Gustavo A. Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a>