← Back to team overview

ubuntu-phone team mailing list archive

StateSaver performance issue

 

Is there any tips on using a StateSaver?

I just want to store a boolean state for a list of languages. I am
currently doing this by using a StateSaver on a delegate's checked
attribute.

But now the app often becomes unresponsive for about 5 seconds when it
launches, and always hangs for about 5 seconds when closing the app,
maxing out the CPU in this time.

Is there a better way to save this information?

You can look at the code here, the StateSaver is at the bottom in the
delegate:
http://bazaar.launchpad.net/~dreamsorcerer/eo-dict-app/trunk/view/head:/qml/SettingsPage.qml

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups