Patch for Qt5 change of KeyboardModifier type