Component.onDestruction of ApplicationWindow not called?

asked 2014-07-09 10:37:21 +0200

Alessandro Portale gravatar image

updated 2014-07-09 11:11:20 +0200

eric gravatar image

Hi. In my application, I want to write settings as soon as te application shuts down. According to the Sailfish Application Lifecycle docs, this could be done in Component.onDestruction of the ApplicationWindow.

However it seems to me that Component.onDestruction is never called. My application is based on what comes out of the SailfishOS Qt Quick Application wizard in Qt Creator.

Any idea what could be missing? Or any suggestion how else I could do that in QML?

Thanks, Alessandro

edit retag flag offensive close delete