Skip to content

KStandardShortcut: store shortcut names as QString-compat raw string data

((same idea as kconfigwidgets!220 (merged))

Avoids the need to create new string data on the heap for each generated action.

When it comes to KConfig API (storing/fetching shortcut settings), the effects are not that different: internally converts any keys (QString or const char*) into UTF-8 QByteArray strings, with deep copy. So a memalloc in any case.

Merge request reports