Skip to content
Commit ac432251 authored by Laura David Hurka's avatar Laura David Hurka 🐬 Committed by Christoph Cullmann
Browse files

kconfig_compiler documentation: Warn about calling save() in response to config notify signals.

We discovered (graphics/okular!305 (comment 126559)) that calling KConfigSkeleton::save() in response to a KConfigXT notify signal causes trouble. This adds a warning to the documentation.

When save() is called in a slot that listens directly to any KConfigXT notify signal,
the application will enter an infinite loop,
because the generated usrSave() method is not reentrant.
Config notify signals are emitted before their changed flag is cleared.
parent 6a8aefa3
Pipeline #401143 failed with stage
in 3 minutes and 44 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment