175 "and reset to restore the shortcut to its default value.\n" |
175 "and reset to restore the shortcut to its default value.\n" |
176 "\tShortcut changes apply immediately after closing this dialog." ); |
176 "\tShortcut changes apply immediately after closing this dialog." ); |
177 |
177 |
178 // Init table items |
178 // Init table items |
179 ulong i = 0; |
179 ulong i = 0; |
180 for (actionmeta& info : g_ActionMeta) { |
180 for (actionmeta& info : g_actionMeta) { |
|
181 if (info.qAct == null) |
|
182 break; |
|
183 |
181 QAction* const act = *info.qAct; |
184 QAction* const act = *info.qAct; |
182 |
185 |
183 ShortcutListItem* item = new ShortcutListItem; |
186 ShortcutListItem* item = new ShortcutListItem; |
184 setShortcutText (item, info); |
187 setShortcutText (item, info); |
185 item->setIcon (act->icon ()); |
188 item->setIcon (act->icon ()); |