Remove hardcoded shortcuts from keyDown:

These keys are also in the menu so no need to special-case them (unlike the other keys handled).
This commit is contained in:
Allan Odgaard
2013-02-03 10:47:24 +01:00
parent 8c43974265
commit 78c5114ac6

View File

@@ -108,9 +108,6 @@
{
static struct key_action_t { std::string key; SEL action; } const KeyActions[] =
{
{ "@C", @selector(goToComputer:) },
{ "@H", @selector(goToHome:) },
{ "@D", @selector(goToDesktop:) },
{ "@[", @selector(goBack:) },
{ "@]", @selector(goForward:) },
{ "@" + utf8::to_s(NSLeftArrowFunctionKey), @selector(goBack:) },