android - Event when value in QSettings changes? -


i not sure how project settings changes immediatelly onto application. 1 way listen on qevent using eventfilter.

is option? there such event? if listening on event bad idea, what's correct solution?

qsettings not notify when change occurs. if want handle event when settings changed, should setup qfilesystemwatcher qsettings::filename() file.

another (probably cleaner) solution create wrapper class defines proper signal, , emits whenever update settings through it.


Comments