Custom shortcut are stored in a dedicated config file
It looks like custom shortcut are stored in a dedicated config file named: ParaView.conf
.
Looks at the code it looks like pqSettings are created on the fly without looking at the application pqSettings, like this:
pqSettings settings;
It should be: pqSettings* settings = pqApplicationCore::instance()->settings();