mirror of https://github.com/cutefishos/calamares
[libcalamares] Support calling a slot on retranslation
- sometimes a slot is easier than a lambda. Introduce
a macro CALAMARES_RETRANSLATE_SLOT that calls a given
slot in an object on language change.
- extend the retranslator with support for calling slots:
- use Qt's signal/slot mechanism alongside the private
list of functions to call
- provide convenience for obtaining the retranslator of
an object.
main
parent
e3f933259b
commit
f1971eed86
Loading…
Reference in New Issue