Use the enum value from Qt::KeyboardModifiers

This fixes the windows build at least