Merge pull request #6024 from ligfx/coreonstatechangedcallback Qt: use Settings::EmulationStateChanged