[SailfishDevel] Persistently storing a ListModel
Marcin Mielniczuk
marmistrzmar at gmail.com
Tue Nov 1 19:32:57 UTC 2016
Hi,
I'm currently using org.nemomobile.configuration to store the
application settings. Now it came out it'd be beneficial to store a
ListModel between runs (if a user wants it).
I tried the naive approach:
property ListModel myModel: modelStorage.value
ConfigurationValue {
id: modelStorage
key: Constants.modelStorageKey
defaultValue: ListModel {}
}
But no dconf key seems to be generated after I populate the model.
What is my best bet in this case? Is this the expected behavior or have
I done something wrong on my side?
--
Marcin
More information about the Devel
mailing list