more robustness in QSettings shortcuts storage