KShortcutsDialog: hide Global columns when there are no Global shortcuts
KShortcutsEditor: minor refactor
- Use a struct instead of an array of pointers to set the actions hierarchy in the tree view
- Gather the code to show/hide the Local shortcuts columns in one method
NO_CHANGELOG
=====================
KShortcutsDialog: hide Global columns when there are no Global shortcuts
Most applications don't define Global shortcuts, which meant that the dialog was showing two empty columns (Global and Global Alternate) most of the time.
BUG: 427129 FIXED-IN: 5.95
======================
KActionCollection: code cleanup
- Pass public class ptr to private class constructor
- Initialize members in-class where possible
NO_CHANGELOG