src/configDialog.cpp

changeset 237
ec77f6e9a19f
parent 233
524cb0833027
child 243
a7c72c847634
equal deleted inserted replaced
236:b58d35dc5d52 237:ec77f6e9a19f
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 ());

mercurial