- /*if ( (keyCombo = [[ITHotKeyCenter sharedCenter] keyComboForName:@"ShowPlayer"]) ) {
- [self setKeyEquivalentForCode:[keyCombo keyCode]
- andModifiers:[keyCombo modifiers]
- onItem:tempItem];
- }*/ // FIX ME!
+ itemEnum = [hotKeys objectEnumerator];
+ while ( (hotKey = [itemEnum nextObject]) ) {
+ if ([[hotKey name] isEqualToString:@"ShowPlayer"]) {
+ ITKeyCombo *combo = [hotKey keyCombo];
+ [self setKeyEquivalentForCode:[combo keyCode]
+ andModifiers:[combo modifiers]
+ onItem:tempItem];
+ }
+ }