Fixed Delete shortcut on OS X

This works around an issue causing the Delete shortcut not to work on
OS X, which appears to be happening since Qt 5. Unfortunately the
shortcut will not show on the menu item this way.

Closes #669