We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-07-09 10:37:21 +0200 |
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
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