Work around missing support for QKeyShortcut in shortcut

The shortcut property supports a StandardKey and a string. When passing a QKeyShortcut, it gets converted to a string, but the converter uses the localized version of the shortcut, which normally does not work when the language is other than English.

This won't be necessary once https://codereview.qt-project.org/c/qt/qtdeclarative/+/751770 is available.

Merge request reports

Loading