Core: Fix action key construction

Amends c7710acadd.

Change-Id: I87c85cae3fa5624ba0c9d8a2c1aec4d3225c7315
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2023-08-31 11:24:13 +02:00
parent cecf577dc4
commit 4132ffd662

View File

@@ -491,7 +491,7 @@ void ActionManagerPrivate::readUserSettings(Id id, Command *cmd)
void ActionManagerPrivate::saveSettings(Command *cmd)
{
const Key id = cmd->id().toKey();
const Key settingsKey = kKeyboardSettingsKeyV2 + '/' + id;
const Key settingsKey = Key(kKeyboardSettingsKeyV2) + '/' + id;
const QList<QKeySequence> keys = cmd->keySequences();
const QList<QKeySequence> defaultKeys = cmd->defaultKeySequences();
if (keys != defaultKeys) {