02-24-2013 11:57 AM
02-24-2013 12:15 PM
peter9477 wrote:
If it's something with the cover, it may mirror what I've discovered using pure QML.
In my manualExit(), I have this code:
Application.setCover(null); // avoids an error on exiting
tried in QML where I process my Notification-cleaning code
Application.setCover(null)
or
Application.cover = null
doesn't help
in C++ cannot set
Application::instance()->setCover(null) - needs an AbstractCover
thx again for your tips
02-24-2013 12:17 PM
02-24-2013 12:27 PM
null should be uppercase:
setCover(NULL) or setCover(0)
resetCover() is probably a shortcut for setCover(NULL), but it's documentation seems to be incomplete. It's not explicitly stated that resetCover() will destroy the object if it belongs to Application, but it seems logical for it to do this also.
02-24-2013 12:28 PM
resetCover() works
destroys the cover
but didn't help
also tried at first to destroy the cover and then use the QTimer to delay exit
nothing helps
thx again for all your help on this sunday
02-24-2013 12:31 PM
thx Zmey - of course you're also right
in C++ it's 0 or NULL ;-)
... resetCover() destroyed the Cover as I've seen from slog2
02-24-2013 12:38 PM
02-24-2013 12:46 PM
Zmey wrote:
Does it stop crashing after removing the lib from the project?
Could you try adding pim notebook permission and/or lib to an empty project to exclude the possibility of this being an internal system bug?
just did this and now I noticed that it must happened some time before adding pim notebook. seems that I didn't recognized before.
so next days I have to go back in my commits to see when it happens exactly. thx to Git this is easy possible to do, but time-consuming. and this should only be a small sample project ;-)
now I have to move to another project for some customer work - then come back to this one - I'll let you know
02-25-2013 03:25 AM
closing this thread
we should discuss this here: