Exclude some krazy checks which do not make sense for KWayland

This software is not portable. We don't need krazy checks telling us
that we should use Qt's portable types.
This commit is contained in:
Martin Gräßlin 2014-12-12 08:43:16 +01:00
parent 35e5517c4b
commit 5dcb3589b3

View file

@ -91,7 +91,7 @@ void KeyboardInterface::Private::sendKeymap()
if (seat->isKeymapXkbCompatible()) { if (seat->isKeymapXkbCompatible()) {
sendKeymap(seat->keymapFileDescriptor(), seat->keymapSize()); sendKeymap(seat->keymapFileDescriptor(), seat->keymapSize());
} else { } else {
int nullFd = open("/dev/null", O_RDONLY); int nullFd = open("/dev/null", O_RDONLY); // krazy:exclude=syscalls
wl_keyboard_send_keymap(resource, WL_KEYBOARD_KEYMAP_FORMAT_NO_KEYMAP, nullFd, 0); wl_keyboard_send_keymap(resource, WL_KEYBOARD_KEYMAP_FORMAT_NO_KEYMAP, nullFd, 0);
close(nullFd); close(nullFd);
} }